nix infra
d0fc7889b5
Flake lock file updates: • Updated input 'disko': 'github:nix-community/disko/f720e64ec37fa16ebba6354eadf310f81555cc07' (2025-01-12) → 'github:nix-community/disko/bf0abfde48f469c256f2b0f481c6281ff04a5db2' (2025-01-16) • Updated input 'fernglas': 'github:wobcom/fernglas/bcd18916c16a4c79ded8dbcb180f6a8604816b58' (2024-12-23) → 'github:wobcom/fernglas/17b5ae49cef2bce57afae4b61f34a261f53d3720' (2025-01-16) • Updated input 'firefox': 'git+https://woof.rip/mikael/firefox.git?ref=refs/heads/main&rev=028f570a909b3d2ea97afdf64ab6444754c09b0f' (2025-01-14) → 'git+https://woof.rip/mikael/firefox.git?ref=refs/heads/main&rev=8155195b0c9fa41d0bf30de1d0544178148135fb' (2025-01-17) • Updated input 'home-manager': 'github:nix-community/home-manager/fc52a210b60f2f52c74eac41a8647c1573d2071d' (2025-01-13) → 'github:nix-community/home-manager/97d7946b5e107dd03cc82f21165251d4e0159655' (2025-01-18) • Updated input 'nixos-hardware': 'github:nixos/nixos-hardware/8870dcaff63dfc6647fb10648b827e9d40b0a337' (2025-01-09) → 'github:nixos/nixos-hardware/b678606690027913f3434dea3864e712b862dde5' (2025-01-15) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/9abb87b552b7f55ac8916b6fc9e5cb486656a2f3' (2025-01-13) → 'github:nixos/nixpkgs/5df43628fdf08d642be8ba5b3625a6c70731c19c' (2025-01-16) • Updated input 'nixvim': 'github:nix-community/nixvim/4282b73ac0dbea03ad74ee8975c33ec41b0a7f25' (2025-01-14) → 'github:nix-community/nixvim/cbf960e5659054b2ccf27b67218782e69016bef5' (2025-01-18) • Updated input 'nixvim/git-hooks': 'github:cachix/git-hooks.nix/a5a961387e75ae44cc20f0a57ae463da5e959656' (2025-01-03) → 'github:cachix/git-hooks.nix/94ee657f6032d913fe0ef49adaa743804635b0bb' (2025-01-16) • Updated input 'nixvim/nix-darwin': 'github:lnl7/nix-darwin/57733bd1dc81900e13438e5b4439239f1b29db0e' (2025-01-08) → 'github:lnl7/nix-darwin/bd921223ba7cdac346477d7ea5204d6f4736fcc6' (2025-01-14) • Updated input 'nixvim/treefmt-nix': 'github:numtide/treefmt-nix/13c913f5deb3a5c08bb810efd89dc8cb24dd968b' (2025-01-06) → 'github:numtide/treefmt-nix/97871d416166803134ba64597a1006f3f670fbde' (2025-01-16) • Updated input 'sops-nix': 'github:Mic92/sops-nix/553c7cb22fed19fd60eb310423fdc93045c51ba8' (2025-01-13) → 'github:Mic92/sops-nix/4c4fb93f18b9072c6fa1986221f9a3d7bf1fe4b6' (2025-01-17) • Updated input 'stylix': 'github:danth/stylix/965d1cb7c84170200b4f05e68ebd27a88d171e8c' (2025-01-14) → 'github:danth/stylix/51ad2cec11e773a949bdbec88bed2524f098f49a' (2025-01-18) • Updated input 'stylix/base16-helix': 'github:tinted-theming/base16-helix/7f795bf75d38e0eea9fed287264067ca187b88a9' (2024-09-09) → 'github:tinted-theming/base16-helix/03860521c40b0b9c04818f2218d9cc9efc21e7a5' (2025-01-14) • Updated input 'stylix/base16-vim': 'github:tinted-theming/base16-vim/61165b1632409bd55e530f3dbdd4477f011cadc6' (2024-11-18) → 'github:tinted-theming/base16-vim/c2a1232aa2c0ed27dcbf005779bcfe0e0ab5e85d' (2025-01-04) • Updated input 'stylix/firefox-gnome-theme': 'github:rafaelmardojai/firefox-gnome-theme/92f4890bd150fc9d97b61b3583680c0524a8cafe' (2024-12-23) → 'github:rafaelmardojai/firefox-gnome-theme/91ca1f82d717b02ceb03a3f423cbe8082ebbb26d' (2025-01-15) • Updated input 'stylix/flake-compat': 'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33' (2023-10-04) → 'github:edolstra/flake-compat/ff81ac966bb2cae68946d5ed5fc4994f96d0ffec' (2024-12-04) • Updated input 'stylix/git-hooks': 'github:cachix/git-hooks.nix/cd1af27aa85026ac759d5d3fccf650abe7e1bbf0' (2024-11-11) → 'github:cachix/git-hooks.nix/a5a961387e75ae44cc20f0a57ae463da5e959656' (2025-01-03) • Removed input 'stylix/git-hooks/nixpkgs-stable' • Updated input 'stylix/tinted-tmux': 'github:tinted-theming/tinted-tmux/f0e7f7974a6441033eb0a172a0342e96722b4f14' (2024-10-21) → 'github:tinted-theming/tinted-tmux/aead506a9930c717ebf81cc83a2126e9ca08fa64' (2025-01-01) |
||
---|---|---|
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