nix infra
Find a file
Update Bot 3993447c62
flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/c3e48cbd88414f583ff08804eb57b0da4c194f9e' (2024-06-23)
  → 'github:nixos/nixos-hardware/caabc425565bbd5c8640630b0bf6974961a49242' (2024-06-25)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/a71e967ef3694799d0c418c98332f7ff4cc5f6af' (2024-06-22)
  → 'github:nixos/nixpkgs/2893f56de08021cffd9b6b6dfc70fd9ccd51eb60' (2024-06-24)
• Updated input 'nixvim':
    'github:nix-community/nixvim/66c8592b31845cb0a1335ecc31ea40e89bed1a38' (2024-06-24)
  → 'github:nix-community/nixvim/1a46075dfe8dbbd2c99980b59af7860a1de010db' (2024-06-25)
• Updated input 'nixvim/git-hooks':
    'github:cachix/git-hooks.nix/8cd35b9496d21a6c55164d8547d9d5280162b07a' (2024-06-20)
  → 'github:cachix/git-hooks.nix/0ff4381bbb8f7a52ca4a851660fc7a437a4c6e07' (2024-06-24)
• Updated input 'nixvim/treefmt-nix':
    'github:numtide/treefmt-nix/68eb1dc333ce82d0ab0c0357363ea17c31ea1f81' (2024-06-16)
  → 'github:numtide/treefmt-nix/065a23edceff48f948816b795ea8cc6c0dee7cdf' (2024-06-24)
2024-06-26 04:20:55 +02:00
config Refactor graphical profile 2024-06-21 00:35:34 +02:00
lib/shinyflakes fixed deployment 2024-05-14 16:23:51 +02:00
modules Update repository url to woof.rip 2024-06-20 14:18:21 +02:00
pkgs Fix update-system runtime dependency 2024-06-21 23:34:18 +02:00
secrets/services Add basicAuth to vaultwarden admin page 2024-06-13 16:45:05 +02:00
.gitignore gitignore 2024-01-12 15:14:17 +01:00
.sops.yaml Add emilias key to sops config 2024-06-12 22:46:54 +02:00
flake.lock flake.lock: Update 2024-06-26 04:20:55 +02:00
flake.nix Update repository url to woof.rip 2024-06-20 14:18:21 +02:00
README.md Update repository url to woof.rip 2024-06-20 14:18:21 +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://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