nix infra
678c03bdef
Flake lock file updates: • 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=3eae909bb4756b1330c6105db653d912db295b7e' (2024-12-07) • 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/d00c6f6d0ad16d598bf7e2956f52c1d9d5de3c3a' (2024-12-06) • Updated input 'nixos-hardware': 'github:nixos/nixos-hardware/c6c90887f84c02ce9ebf33b95ca79ef45007bf88' (2024-12-02) → 'github:nixos/nixos-hardware/e563803af3526852b6b1d77107a81908c66a9fcf' (2024-12-06) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/ac35b104800bff9028425fec3b6e8a41de2bbfff' (2024-12-01) → 'github:nixos/nixpkgs/d0797a04b81caeae77bcff10a9dde78bc17f5661' (2024-12-05) • Updated input 'nixvim': 'github:nix-community/nixvim/e680b367c726e2ae37d541328fe81f8daaf49a6c' (2024-12-02) → 'github:nix-community/nixvim/08be20270d62e31f215f4592867d53576af15001' (2024-12-07) • 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 'stylix': 'github:danth/stylix/74ee1ed5057e44edbcc36aa189a91d31eda60485' (2024-12-02) → 'github:danth/stylix/e309d64fe7f203274a7913e1d2b74307d15ba122' (2024-12-06) • 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