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

• Updated input 'disko':
    'github:nix-community/disko/c1cfbfad7cb45f0c177b35b59ba67d1b5fc7ca82' (2024-06-10)
  → 'github:nix-community/disko/832a9f2c81ff3485404bd63952eadc17bf7ccef2' (2024-06-13)
• Updated input 'home-manager':
    'github:nix-community/home-manager/3d65009effd77cb0d6e7520b68b039836a7606cf' (2024-06-09)
  → 'github:nix-community/home-manager/8d5e27b4807d25308dfe369d5a923d87e7dbfda3' (2024-06-13)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/58b52b0dd191af70f538c707c66c682331cfdffc' (2024-06-10)
  → 'github:nixos/nixos-hardware/d75003136c0fc94ee60e51806c2801ff572d06a6' (2024-06-13)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/051f920625ab5aabe37c920346e3e69d7d34400e' (2024-06-07)
  → 'github:nixos/nixpkgs/57d6973abba7ea108bac64ae7629e7431e0199b6' (2024-06-12)
• Updated input 'nixvim':
    'github:nix-community/nixvim/33a32c94176feebd3ff5259ce418b989b428d5ae' (2024-06-10)
  → 'github:nix-community/nixvim/80c03843e7ad7fc7deb0dce6d1f6fc45593ed91d' (2024-06-13)
• Updated input 'nixvim/nix-darwin':
    'github:lnl7/nix-darwin/c0d5b8c54d6828516c97f6be9f2d00c63a363df4' (2024-05-29)
  → 'github:lnl7/nix-darwin/315aa649ba307704db0b16c92f097a08a65ec955' (2024-06-09)
• Updated input 'nixvim/treefmt-nix':
    'github:numtide/treefmt-nix/4fc1c45a5f50169f9f29f6a98a438fb910b834ed' (2024-06-08)
  → 'github:numtide/treefmt-nix/1cb529bffa880746a1d0ec4e0f5076876af931f1' (2024-06-11)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/d071c74a7de1e26d211b69b6fbae37ae2e31a87f' (2024-06-10)
  → 'github:Mic92/sops-nix/c279dec105dd53df13a5e57525da97905cc0f0d6' (2024-06-11)
• Updated input 'stylix':
    'github:danth/stylix/f060e4059b408b2cc1891ce655d0f6bef4e21a5b' (2024-06-11)
  → 'github:danth/stylix/73c6955b4572346cc10f43a459949fe646efbde0' (2024-06-13)
2024-06-14 04:20:31 +02:00
config Add basicAuth to vaultwarden admin page 2024-06-13 16:45:05 +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 updated ryuuko 2024-05-29 21:12:46 +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-14 04:20:31 +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