My configuration. Probably nothing to look for here.
![]() Flake lock file updates: • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/a73246e2eef4c6ed172979932bc80e1404ba2d56?narHash=sha256-463SNPWmz46iLzJKRzO3Q2b0Aurff3U1n0nYItxq7jU%3D' (2024-12-09) → 'github:NixOS/nixpkgs/5d67ea6b4b63378b9c13be21e2ec9d1afc921713?narHash=sha256-Pj39hSoUA86ZePPF/UXiYHHM7hMIkios8TYG29kQT4g%3D' (2024-12-11) • Updated input 'nur': 'github:nix-community/NUR/9a14c9634c8d314d3ab406542a85e4c6f85ec74c?narHash=sha256-xLxUR/6LqgL2V31IGWO8TwbvZugleeDnyFoCbtFYxwE%3D' (2024-12-12) → 'github:nix-community/NUR/84b5a90b36c1101bcd49384515cb6fcc7b0773d9?narHash=sha256-osDqx1W/Nwq7ulD8eF23bqXhdueg2DUKN5cuP2Y6x7M%3D' (2024-12-13) • Updated input 'nur/nixpkgs': 'github:nixos/nixpkgs/a73246e2eef4c6ed172979932bc80e1404ba2d56?narHash=sha256-463SNPWmz46iLzJKRzO3Q2b0Aurff3U1n0nYItxq7jU%3D' (2024-12-09) → 'github:nixos/nixpkgs/5d67ea6b4b63378b9c13be21e2ec9d1afc921713?narHash=sha256-Pj39hSoUA86ZePPF/UXiYHHM7hMIkios8TYG29kQT4g%3D' (2024-12-11) • Updated input 'zig': 'github:mitchellh/zig-overlay/ed2e9c6fc49604e90a5793c3015373190748d69a?narHash=sha256-Y1dLasHOrvcic2SlrAuqDa3SaIoiNe1eOi/H3QyaUTw%3D' (2024-12-11) → 'github:mitchellh/zig-overlay/1f60eed7a96b9e3baf9152f3bd8a0874ca77ba38?narHash=sha256-eSiYfPqKHdhaXXNCEzRFY3w5xbEGFMnYSuYfTihTPVc%3D' (2024-12-13) |
||
---|---|---|
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