1
0
Fork 0
forked from emily/nixfiles
nix infra
Find a file
Update Bot 18b7df6405
flake.lock: Update
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/e972a78f4a49cd92075d64b6feeef64d26bf2996' (2024-05-13)
  → 'github:nix-community/disko/5f6dbcce99d60dd77f96dfc66d06bbea149a40e1' (2024-05-16)
• Updated input 'dns':
    'github:kirelagin/dns.nix/c7b9645da9c0ddce4f9de4ef27ec01bb8108039a' (2021-10-26)
  → 'github:kirelagin/dns.nix/9ebfa9158290de09fafcc759211e48bda48329ee' (2024-05-16)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/a4e2b7909fc1bdf30c30ef21d388fde0b5cdde4a' (2024-05-08)
  → 'github:nixos/nixos-hardware/ff1be1e3cdf884df0935ab28745ab13c3c26d828' (2024-05-16)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/2057814051972fa1453ddfb0d98badbea9b83c06' (2024-05-12)
  → 'github:nixos/nixpkgs/33d1e753c82ffc557b4a585c77de43d4c922ebb5' (2024-05-15)
• Updated input 'nixvim':
    'github:nix-community/nixvim/4530a35bad28a0e8b21905b0817a225e6387811c' (2024-05-13)
  → 'github:nix-community/nixvim/72ff1489c7f40dae829fafc689fb6a57099a9739' (2024-05-16)
• Updated input 'nixvim/nix-darwin':
    'github:lnl7/nix-darwin/230a197063de9287128e2c68a7a4b0cd7d0b50a7' (2024-04-24)
  → 'github:lnl7/nix-darwin/de8b0d60d6fd34f35abffc46adc94ebaa6996ce2' (2024-05-14)
• Updated input 'nixvim/pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/2849da033884f54822af194400f8dff435ada242' (2024-04-30)
  → 'github:cachix/pre-commit-hooks.nix/c182c876690380f8d3b9557c4609472ebfa1b141' (2024-05-13)
2024-05-16 23:58:47 +02:00
config added unfished knot config 2024-05-16 21:57:00 +02:00
lib/shinyflakes fixed deployment 2024-05-14 16:23:51 +02:00
modules more opsies 2024-05-16 23:48:11 +02:00
pkgs more opsies 2024-05-16 23:48:11 +02:00
secrets/services added update-nixfiles 2024-05-16 17:28:36 +02:00
.gitignore gitignore 2024-01-12 15:14:17 +01:00
.sops.yaml added update-nixfiles 2024-05-16 17:28:36 +02:00
flake.lock flake.lock: Update 2024-05-16 23:58:47 +02:00
flake.nix fix overlays 2024-05-14 04:17:05 +02:00
README.md updated readme 2024-05-16 14:37:15 +02:00

emilys Nix Infra

Build Status

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://git.bsd.gay/snaki/nixfiles.git#<configuration>" --no-reboot --build-on-target root@127.0.0.1
$ nixos-enter
$ passwd <local-user>
reboot
$ git clone https://git.bsd.gay/snaki/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