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

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/1d9c2c9b3e71b9ee663d11c5d298727dace8d374' (2024-07-19)
  → 'github:nixos/nixpkgs/68c9ed8bbed9dfce253cc91560bf9043297ef2fe' (2024-07-21)
• Updated input 'nixvim':
    'github:nix-community/nixvim/d2f733efb4962903b77af330c4c03a63f2f72968' (2024-07-21)
  → 'github:nix-community/nixvim/901e8760d02b64e83c852d019a8599fea1c376ad' (2024-07-22)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/909e8cfb60d83321d85c8d17209d733658a21c95' (2024-07-21)
  → 'github:Mic92/sops-nix/aff2f88277dabe695de4773682842c34a0b7fd54' (2024-07-22)
2024-07-23 04:20:39 +02:00
config Reverte builder system-features 2024-07-22 14:54:47 +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 Change nyastodon mirror URL 2024-07-15 14:08:26 +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-07-23 04:20:39 +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