My configuration. Probably nothing to look for here.
1b3a849953
Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/84b5a90b36c1101bcd49384515cb6fcc7b0773d9?narHash=sha256-osDqx1W/Nwq7ulD8eF23bqXhdueg2DUKN5cuP2Y6x7M%3D' (2024-12-13) → 'github:nix-community/NUR/3cf0182e397010be9aca4f88a77bea8092a6c4e3?narHash=sha256-CEZ8VLNGrvZBqM%2BBoPeXaGy3CurQVFWpavuIAuNDtZM%3D' (2024-12-14) • Updated input 'zig': 'github:mitchellh/zig-overlay/1f60eed7a96b9e3baf9152f3bd8a0874ca77ba38?narHash=sha256-eSiYfPqKHdhaXXNCEzRFY3w5xbEGFMnYSuYfTihTPVc%3D' (2024-12-13) → 'github:mitchellh/zig-overlay/2d2b4c8b29a4c3bb693b01d26ab9eb1b92c83473?narHash=sha256-vVKuoB15Iqpi2YD9KQTslaTopK%2BGkdL%2BtY823l0iauI%3D' (2024-12-14) |
||
---|---|---|
hosts | ||
modules | ||
pkgs | ||
secrets | ||
shared | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
data.nix | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md | ||
secrets.nix |
Config
Flakes:
$ deploy --interactive '#fwminex'
$ nix build .#deploy.nodes.fra1-b.profiles.system.path
Other:
$ nix build .#nixosConfigurations.vno3-rp3b.config.system.build.toplevel
$ nix eval .#nixosConfigurations.fwminex.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
Borg
BORG_PASSCOMMAND="cat /run/agenix/borgbackup-fwminex" borg --remote-path=borg1 list zh2769@zh2769.rsync.net:fwminex.servers.jakst-home-motiejus-annex2