nix infra
74b0e6010f
Flake lock file updates: • Updated input 'disko': 'github:nix-community/disko/3a4de9fa3a78ba7b7170dda6bd8b4cdab87c0b21' (2024-12-24) → 'github:nix-community/disko/49f8aa791f81ff2402039b3efe0c35b9386c4bcf' (2025-01-06) • Updated input 'firefox': 'git+https://woof.rip/mikael/firefox.git?ref=refs/heads/main&rev=bd9971638bec8aee1eb520765115d0243a358bc9' (2024-12-24) → 'git+https://woof.rip/mikael/firefox.git?ref=refs/heads/main&rev=505a4a8128befb4b51c1a47c3763a8061a26f751' (2025-01-06) • Updated input 'home-manager': 'github:nix-community/home-manager/35b98d20ca8f4ca1f6a2c30b8a2c8bb305a36d84' (2024-12-24) → 'github:nix-community/home-manager/20665c6efa83d71020c8730f26706258ba5c6b2a' (2025-01-06) • Updated input 'nixos-hardware': 'github:nixos/nixos-hardware/def1d472c832d77885f174089b0d34854b007198' (2024-12-23) → 'github:nixos/nixos-hardware/ca30f8501ab452ca687a7fdcb2d43e1fb1732317' (2025-01-07) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/d70bd19e0a38ad4790d3913bf08fcbfc9eeca507' (2024-12-19) → 'github:nixos/nixpkgs/8f3e1f807051e32d8c95cd12b9b421623850a34d' (2025-01-04) • Updated input 'nixvim': 'github:nix-community/nixvim/1671f8618fa347d8a0cd62506df386d58d7608f3' (2024-12-26) → 'github:nix-community/nixvim/a352bb89b0cd180f5c767689c4cc310109cd4ad8' (2025-01-07) • Updated input 'nixvim/devshell': 'github:numtide/devshell/dd6b80932022cea34a019e2bb32f6fa9e494dfef' (2024-10-07) → 'github:numtide/devshell/f7795ede5b02664b57035b3b757876703e2c3eac' (2024-12-31) • Updated input 'nixvim/flake-parts': 'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9' (2024-12-04) → 'github:hercules-ci/flake-parts/b905f6fc23a9051a6e1b741e1438dbfc0634c6de' (2025-01-06) • Updated input 'nixvim/git-hooks': 'github:cachix/git-hooks.nix/f0f0dc4920a903c3e08f5bdb9246bb572fcae498' (2024-12-21) → 'github:cachix/git-hooks.nix/a5a961387e75ae44cc20f0a57ae463da5e959656' (2025-01-03) • Removed input 'nixvim/git-hooks/nixpkgs-stable' • Updated input 'nixvim/nix-darwin': 'github:lnl7/nix-darwin/a35b08d09efda83625bef267eb24347b446c80b8' (2024-12-07) → 'github:lnl7/nix-darwin/ba9b3173b0f642ada42b78fb9dfc37ca82266f6c' (2025-01-05) • Updated input 'nixvim/nuschtosSearch': 'github:NuschtOS/search/3051be7f403bff1d1d380e4612f0c70675b44fc9' (2024-12-09) → 'github:NuschtOS/search/836908e3bddd837ae0f13e215dd48767aee355f0' (2025-01-02) • Updated input 'nixvim/treefmt-nix': 'github:numtide/treefmt-nix/65712f5af67234dad91a5a4baee986a8b62dbf8f' (2024-12-20) → 'github:numtide/treefmt-nix/1788ca5acd4b542b923d4757d4cfe4183cc6a92d' (2025-01-05) • Updated input 'sops-nix': 'github:Mic92/sops-nix/ed091321f4dd88afc28b5b4456e0a15bd8374b4d' (2024-12-18) → 'github:Mic92/sops-nix/c9c88f08e3ee495e888b8d7c8624a0b2519cb773' (2025-01-06) • Updated input 'stylix': 'github:danth/stylix/963e77a3a4fc2be670d5a9a6cbeb249b8a43808a' (2024-12-26) → 'github:danth/stylix/1d7b70ed9ee4c3b24ed6b0c7c64a0ee5fcc4ae10' (2025-01-06) • Added input 'stylix/firefox-gnome-theme': 'github:rafaelmardojai/firefox-gnome-theme/92f4890bd150fc9d97b61b3583680c0524a8cafe' (2024-12-23) • Added input 'stylix/git-hooks': 'github:cachix/git-hooks.nix/cd1af27aa85026ac759d5d3fccf650abe7e1bbf0' (2024-11-11) • Added input 'stylix/git-hooks/flake-compat': follows 'stylix/flake-compat' • Added input 'stylix/git-hooks/gitignore': 'github:hercules-ci/gitignore.nix/637db329424fd7e46cf4185293b9cc8c88c95394' (2024-02-28) • Added input 'stylix/git-hooks/gitignore/nixpkgs': follows 'stylix/git-hooks/nixpkgs' • Added input 'stylix/git-hooks/nixpkgs': follows 'stylix/nixpkgs' • Added input 'stylix/git-hooks/nixpkgs-stable': follows 'stylix/git-hooks/nixpkgs' • Added input 'stylix/tinted-zed': 'github:tinted-theming/base16-zed/122c9e5c0e6f27211361a04fae92df97940eccf9' (2024-09-08) |
||
---|---|---|
config | ||
lib/shinyflakes | ||
modules | ||
pkgs | ||
secrets | ||
.gitignore | ||
.sops.yaml | ||
flake.lock | ||
flake.nix | ||
README.md |
emilys Nix Infra
First deployment
remote hosts
$ nix run github:nix-community/nixos-anywhere -- --flake ".#<configuration>" root@<target-host>
desktops
$ nix --extra-experimental-features nix-command run github:nix-community/nixos-anywhere -- --flake "git+https://woof.rip/emily/nixfiles.git#<configuration>" --no-reboot --build-on-target root@127.0.0.1
$ nixos-enter
$ passwd <local-user>
reboot
$ git clone https://woof.rip/emily/nixfiles.git
$ colmena apply-local --sudo --node <node>
Todo
- tomate (router dus)
- kartoffel
- most services
- brokkoli2 (router ams)
- alucard
- merge hetzner hosts
Structure
nixfiles
├── config # NixOS configuration
│ ├── common # configuration applyed to all hosts (some settings might be influenced by machine-type)
│ │ └── users # user configuration
│ ├── hosts # configuration for specific hosts
│ ├── profiles # configuariotn for specific machine types
│ └── services # common service configuration
├── lib # helper functions
├── modules # NixOS modules
└── pkgs # nixpkgs overlays