My configuration. Probably nothing to look for here.
Go to file
Deployerbot Main 6bdaca4095 flake.lock: Update
Flake lock file updates:

• Updated input 'deploy-rs':
    'github:serokell/deploy-rs/d0cfc042eba92eb206611c9e8784d41a2c053bab' (2023-09-08)
  → 'github:serokell/deploy-rs/31c32fb2959103a796e07bbe47e0a5e287c343a8' (2023-09-12)
• Updated input 'flake-utils':
    'github:numtide/flake-utils/f9e7cf818399d17d347f847525c5a5a8032e4e44' (2023-08-23)
  → 'github:numtide/flake-utils/ff7b65b44d01cf9ba6a71320833626af21126384' (2023-09-12)
• Updated input 'home-manager':
    'github:nix-community/home-manager/5bac4a1c06cd77cf8fc35a658ccb035a6c50cd2c' (2023-08-28)
  → 'github:nix-community/home-manager/9787dffff5d315c9593d3f9fb0f9bf2097e1b57b' (2023-09-11)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e20410d4224c6d5ae4acc9d492b4f5b443e90b86' (2023-09-10)
  → 'github:NixOS/nixpkgs/36bee398beca22e2428074e0a2e068d87f801718' (2023-09-12)
2023-09-12 23:30:52 +00:00
hosts wsdd: specify existing hostname 2023-09-12 23:18:46 +03:00
modules samba: log level = 0 2023-09-12 23:27:23 +03:00
secrets vno1-rp3b: move datapool-passphrase to /etc 2023-09-11 13:05:42 +03:00
.envrc flakes 2023-07-18 11:27:59 +03:00
.gitattributes Configure git repository for gpg file diff. 2023-01-03 13:41:30 +02:00
.gitignore make shell work 2023-04-03 16:43:34 +03:00
data.nix replace nmbd with wsdd 2023-09-12 23:10:59 +03:00
flake.lock flake.lock: Update 2023-09-12 23:30:52 +00:00
flake.nix vno1-rp3b: move datapool-passphrase to /etc 2023-09-11 13:05:42 +03:00
LICENSE add a license 2023-04-13 23:50:42 +03:00
nixpkgs.nix nix fmt . 2023-04-03 16:50:52 +03:00
README.md remove hel1-a 2023-08-27 15:17:54 +03:00
secrets.nix vno1-rp3b: move datapool-passphrase to /etc 2023-09-11 13:05:42 +03:00
yubikey-installer.nix update yubikey-installer.nix to 23.05 and nix flake update 2023-07-20 15:19:33 +03:00

Config

Flakes:

$ deploy --interactive '#vno1-oh2'

$ nix build .#deploy.nodes.fra1-a.profiles.system.path

Other:

$ nix build .#nixosConfigurations.vno1-rp3b.config.system.build.toplevel

Debug

$ nix eval .#nixosConfigurations.vno1-oh2.config.services.nsd

Encoding host-only secrets

Encode a secret on host:

rage -e -r "$(cat /etc/ssh/ssh_host_ed25519_key.pub)" -o secret.age /path/to/plaintext

Decode a secret on host (to test things out):

rage -d -i /etc/ssh/ssh_host_ed25519_key secret.age