nix infra
fa4bdaf658
Flake lock file updates: • Updated input 'disko': 'github:nix-community/disko/2ee76c861af3b895b3b104bae04777b61397485b' (2024-12-20) → 'github:nix-community/disko/3a4de9fa3a78ba7b7170dda6bd8b4cdab87c0b21' (2024-12-24) • Updated input 'fernglas': 'github:wobcom/fernglas/25e55f0275c369d66ccd847e7fc0f4cbd4ca4d26' (2024-09-03) → 'github:wobcom/fernglas/bcd18916c16a4c79ded8dbcb180f6a8604816b58' (2024-12-23) • Updated input 'fernglas/communities': 'github:NLNOG/lg.ring.nlnog.net/41cf616bae6fba597d074a484aabf1bee9002fb5' (2024-06-26) → 'github:NLNOG/lg.ring.nlnog.net/cb80cd9e60e5381becfb2ad4046c5e5ae60d0543' (2024-12-15) • Updated input 'fernglas/nixpkgs': 'github:NixOS/nixpkgs/655a58a72a6601292512670343087c2d75d859c1' (2024-07-08) → 'github:NixOS/nixpkgs/d70bd19e0a38ad4790d3913bf08fcbfc9eeca507' (2024-12-19) • Updated input 'firefox': 'git+https://woof.rip/mikael/firefox.git?ref=refs/heads/main&rev=2ac8a12595ad198ab669fd949e037465313e32fc' (2024-12-18) → 'git+https://woof.rip/mikael/firefox.git?ref=refs/heads/main&rev=bd9971638bec8aee1eb520765115d0243a358bc9' (2024-12-24) • Updated input 'home-manager': 'github:nix-community/home-manager/edb8b00e4d17b2116b60eca50f38ac68f12b9ab4' (2024-12-22) → 'github:nix-community/home-manager/35b98d20ca8f4ca1f6a2c30b8a2c8bb305a36d84' (2024-12-24) • Updated input 'nixos-hardware': 'github:nixos/nixos-hardware/e8516a23524cc9083f5a02a8d64d14770e4c7c09' (2024-12-22) → 'github:nixos/nixos-hardware/def1d472c832d77885f174089b0d34854b007198' (2024-12-23) • Updated input 'nixvim': 'github:nix-community/nixvim/450cccf472f40ae8e3b92eec9e5f4b071693ac85' (2024-12-22) → 'github:nix-community/nixvim/25c13524642cb7fe98583a5dd5f90992c76198b9' (2024-12-25) • Updated input 'stylix': 'github:danth/stylix/4d87b96ceca38532f39c1b7efd8a9235bfcee3d6' (2024-12-22) → 'github:danth/stylix/079fecebad5f616561726359c89cedd811c8a722' (2024-12-25) |
||
---|---|---|
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