My configuration. Probably nothing to look for here.
567e1700f4
Flake lock file updates: • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/f1e477a7dd11e27e7f98b646349cd66bbabf2fb8?narHash=sha256-U0vivjQFAwjNDYt49Krevs1murX9hKBFe2Ye0cHpgbU%3D' (2024-12-08) → 'github:Mic92/nix-index-database/311d6cf3ad3f56cb051ffab1f480b2909b3f754d?narHash=sha256-icEMqBt4HtGH52PU5FHidgBrNJvOfXH6VQKNtnD1aw8%3D' (2024-12-15) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/a0f3e10d94359665dba45b71b4227b0aeb851f8e?narHash=sha256-KWwINTQelKOoQgrXftxoqxmKFZb9pLVfnRvK270nkVk%3D' (2024-12-10) → 'github:NixOS/nixpkgs/314e12ba369ccdb9b352a4db26ff419f7c49fa84?narHash=sha256-5fNndbndxSx5d%2BC/D0p/VF32xDiJCJzyOqorOYW4JEo%3D' (2024-12-13) • Updated input 'nur': 'github:nix-community/NUR/3cf0182e397010be9aca4f88a77bea8092a6c4e3?narHash=sha256-CEZ8VLNGrvZBqM%2BBoPeXaGy3CurQVFWpavuIAuNDtZM%3D' (2024-12-14) → 'github:nix-community/NUR/2562c7e526c1e66c837106dbb99623efb88f32ce?narHash=sha256-S5N87tEKOEqsQvZ874e5aMhh2r8K51Q0530I8eh5uC0%3D' (2024-12-15) • Updated input 'pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/d8c02f0ffef0ef39f6063731fc539d8c71eb463a?narHash=sha256-%2BXTFXYlFJBxohhMGLDpYdEnhUNdxN8dyTA8WAd%2Blh2A%3D' (2024-12-08) → 'github:cachix/pre-commit-hooks.nix/4c8e75efbbdcc6f9203f64b1f21f8a55d2285264?narHash=sha256-3Lzk%2B7QyX8v60%2Bkm26D3dln7NMSA13vW%2BKYTkMkds6Q%3D' (2024-12-15) • Updated input 'zig': 'github:mitchellh/zig-overlay/2d2b4c8b29a4c3bb693b01d26ab9eb1b92c83473?narHash=sha256-vVKuoB15Iqpi2YD9KQTslaTopK%2BGkdL%2BtY823l0iauI%3D' (2024-12-14) → 'github:mitchellh/zig-overlay/5a8c431b17592c10c2897d24e7a1a0079bf67453?narHash=sha256-5wtf1pnHDE2VFA%2BY2TQa53T8tXO0N/dXgYjXTr8batg%3D' (2024-12-15) |
||
---|---|---|
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