nix infra
4a0fc6b35e
Flake lock file updates: • Updated input 'disko': 'github:nix-community/disko/785c1e02c7e465375df971949b8dcbde9ec362e5' (2024-12-02) → 'github:nix-community/disko/0f31ad735e784315a22d9899d3ba24340ce64220' (2024-12-12) • Updated input 'dns': 'github:kirelagin/dns.nix/a3196708a56dee76186a9415c187473b94e6cbae' (2024-09-20) → 'github:kirelagin/dns.nix/a23f43f9762aa96d3e35c8eeefa7610bd0cdf456' (2024-12-11) • Updated input 'firefox': 'git+https://woof.rip/mikael/firefox.git?ref=refs/heads/main&rev=176c87bbd0de2ffb6b1409c0aa107eed488166ce' (2024-11-30) → 'git+https://woof.rip/mikael/firefox.git?ref=refs/heads/main&rev=06ca44342aceb731f8a7362070172ce138b196ae' (2024-12-11) • Removed input 'firefox/eosyn' • Removed input 'firefox/eosyn/lix' • Removed input 'firefox/eosyn/lix-module' • Removed input 'firefox/eosyn/lix-module/flake-utils' • Removed input 'firefox/eosyn/lix-module/flake-utils/systems' • Removed input 'firefox/eosyn/lix-module/flakey-profile' • Removed input 'firefox/eosyn/lix-module/lix' • Removed input 'firefox/eosyn/lix-module/nixpkgs' • Removed input 'firefox/eosyn/nixpkgs' • Added input 'firefox/nixpkgs': follows 'nixpkgs' • Updated input 'home-manager': 'github:nix-community/home-manager/bf23fe41082aa0289c209169302afd3397092f22' (2024-12-02) → 'github:nix-community/home-manager/3066cc58f552421a2c5414e78407fa5603405b1e' (2024-12-12) • Updated input 'nixos-hardware': 'github:nixos/nixos-hardware/c6c90887f84c02ce9ebf33b95ca79ef45007bf88' (2024-12-02) → 'github:nixos/nixos-hardware/cf737e2eba82b603f54f71b10cb8fd09d22ce3f5' (2024-12-10) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/ac35b104800bff9028425fec3b6e8a41de2bbfff' (2024-12-01) → 'github:nixos/nixpkgs/a73246e2eef4c6ed172979932bc80e1404ba2d56' (2024-12-09) • Updated input 'nixvim': 'github:nix-community/nixvim/e680b367c726e2ae37d541328fe81f8daaf49a6c' (2024-12-02) → 'github:nix-community/nixvim/d99bc6ebadce99dcb8b294c31fac96329b3bdf2e' (2024-12-12) • Updated input 'nixvim/flake-parts': 'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90' (2024-11-01) → 'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9' (2024-12-04) • Updated input 'nixvim/git-hooks': 'github:cachix/git-hooks.nix/3308484d1a443fc5bc92012435d79e80458fe43c' (2024-11-19) → 'github:cachix/git-hooks.nix/6f4e2a2112050951a314d2733a994fbab94864c6' (2024-12-04) • Updated input 'nixvim/nix-darwin': 'github:lnl7/nix-darwin/c6b65d946097baf3915dd51373251de98199280d' (2024-12-02) → 'github:lnl7/nix-darwin/a35b08d09efda83625bef267eb24347b446c80b8' (2024-12-07) • Updated input 'nixvim/nuschtosSearch': 'github:NuschtOS/search/16307548b7a1247291c84ae6a12c0aacb07dfba2' (2024-11-30) → 'github:NuschtOS/search/68e9fad70d95d08156cf10a030bd39487bed8ffe' (2024-12-05) • Updated input 'nixvim/treefmt-nix': 'github:numtide/treefmt-nix/6209c381904cab55796c5d7350e89681d3b2a8ef' (2024-11-29) → 'github:numtide/treefmt-nix/50862ba6a8a0255b87377b9d2d4565e96f29b410' (2024-12-05) • Updated input 'sops-nix': 'github:Mic92/sops-nix/c6134b6fff6bda95a1ac872a2a9d5f32e3c37856' (2024-12-02) → 'github:Mic92/sops-nix/2d73fc6ac4eba4b9a83d3cb8275096fbb7ab4004' (2024-12-12) • Updated input 'stylix': 'github:danth/stylix/74ee1ed5057e44edbcc36aa189a91d31eda60485' (2024-12-02) → 'github:danth/stylix/ccee633284cde8a9f825004e00dd84a31b10e6c6' (2024-12-12) • Updated input 'stylix/gnome-shell': 'github:GNOME/gnome-shell/0d0aadf013f78a7f7f1dc984d0d812971864b934' (2024-04-21) → 'github:GNOME/gnome-shell/dadd58f630eeea41d645ee225a63f719390829dc' (2024-11-23) |
||
---|---|---|
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