My configuration. Probably nothing to look for here.
ae47e3466e
Flake lock file updates: • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/bedc30c64442579943c1c6e7579db263d810884f?narHash=sha256-3SMxtkXlmzPmF4NXCt6lLF2IkdyAmO824PlScUKVhB0%3D' (2024-11-24) → 'github:Mic92/nix-index-database/f4a5ca5771ba9ca31ad24a62c8d511a405303436?narHash=sha256-AGXhwHdJV0q/WNgqwrR2zriubLr785b02FphaBtyt1Q%3D' (2024-11-25) • Updated input 'nur': 'github:nix-community/NUR/3713e47855a644d534b556be42458326bef6cbe0?narHash=sha256-qspvlvHSR0Jgl8QsraMNQLFGu/Hv24%2BSwB2W8cB1dqU%3D' (2024-11-25) → 'github:nix-community/NUR/8e2badf277132b4616778976bed686b3ca3f9ee1?narHash=sha256-DjlMcdKSmWt6mR6fNxIWY1TZ386ef%2BPxxXNcdPiRhsY%3D' (2024-11-26) • Updated input 'zig': 'github:mitchellh/zig-overlay/b7f09ab4c8316833ed54f942d7a4a6d296554aa4?narHash=sha256-4tiWciev4g2Pxz5qrWooDBVIxqtIvIhoYNycMuHyHQ0%3D' (2024-11-25) → 'github:mitchellh/zig-overlay/665ab9acb56da1a5c5dea5ed992b64c953b3f277?narHash=sha256-/V0WHG8fahDF2GE8JzoS/nh9/nvP%2B9JBoYjIKxTSokA%3D' (2024-11-25) |
||
---|---|---|
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