My configuration. Probably nothing to look for here.
![]() Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/005914be97fda97cd494d409c57e62283c583fec?narHash=sha256-naKCTtKcX//k0umB9tj9%2B4AARSnzBJQM9lFsvb092/c%3D' (2025-01-28) → 'github:nix-community/NUR/4a9d92865fd5f83d083d843a4107023f5a6b324b?narHash=sha256-OB9oWUNfEP7n38R9pE9o%2By1Q58DVvMEHWICNH9%2BNGbE%3D' (2025-01-29) |
||
---|---|---|
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