nix infra
c5084fb799
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=7e81b41ecf529b820d2d53816c7c65c028b9d474' (2024-12-10) • 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/f26aa4b76fb7606127032d33ac73d7d507d82758' (2024-12-10) • 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/b752606681ded3f69e99ed568c7075b3578dce48' (2024-12-10) • 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/a80af8929781b5fe92ddb8ae52e9027fae780d2a' (2024-12-09) • Updated input 'stylix': 'github:danth/stylix/74ee1ed5057e44edbcc36aa189a91d31eda60485' (2024-12-02) → 'github:danth/stylix/bc25f3d69d3bb54548b772d7c2771e65cc37dc10' (2024-12-10) • 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