My configuration. Probably nothing to look for here.
df0d9860bb
Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/999ac103e196209d0012dfbcc38c71a1e8610215?narHash=sha256-w7KFTa7FtyRWmP4vb57U9CkmPZ1y81XDL8Jc7CRMt/Y%3D' (2024-12-17) → 'github:nix-community/NUR/8fdeedcd24d5b73758ccf5993b36acce85e484af?narHash=sha256-MPgvdvnHB3UPN5g6b/T8wkbCzvdcGoKOITXusnQeiYM%3D' (2024-12-18) • Updated input 'pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/0bb4be58f21ff38fc3cdbd6c778eb67db97f0b99?narHash=sha256-Keu8z5VgT5gnCF4pmB%2Bg7XZFftHpfl4qOn7nqBcywdE%3D' (2024-12-16) → 'github:cachix/pre-commit-hooks.nix/0ddd26d0925f618c3a5d85a4fa5eb1e23a09491d?narHash=sha256-nzE5UbJ41aPEKf8R2ZFYtLkqPmF7EIUbNEdHMBLg0Ig%3D' (2024-12-17) • Updated input 'zig': 'github:mitchellh/zig-overlay/3bd1ae9b19e223a5fd46cf722277b1c7051fbbde?narHash=sha256-RXki/mEAZG0Qixt6kpwHTI65pFrlXrvmVXTffisKwKQ%3D' (2024-12-17) → 'github:mitchellh/zig-overlay/35334c3bb834162619cb09e6fa64db20facdb59e?narHash=sha256-KmgBegl7FR6RFhR7CODNOW0SnqcqvBEJouQGcTPmSxo%3D' (2024-12-18) |
||
---|---|---|
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