My configuration. Probably nothing to look for here.
cdb1c82ee9
Flake lock file updates: • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/ac35b104800bff9028425fec3b6e8a41de2bbfff?narHash=sha256-t4BBVpwG9B4hLgc6GUBuj3cjU7lP/PJfpTHuSqE%2Bcrk%3D' (2024-12-01) → 'github:NixOS/nixpkgs/55d15ad12a74eb7d4646254e13638ad0c4128776?narHash=sha256-M1%2BuCoV5igihRfcUKrr1riygbe73/dzNnzPsmaLCmpo%3D' (2024-12-03) • Updated input 'nur': 'github:nix-community/NUR/251d756a74e67bda25d89327b01a3da19dddabae?narHash=sha256-RIlhnKlObJ1sEdzBP6Nuy4jLUiQnmWWXVsRHRbv6SzY%3D' (2024-12-03) → 'github:nix-community/NUR/dda476d2da1f38f7a5391a60b563d520eb1ea4f9?narHash=sha256-3EUU3tm%2BT3vUHmZdsLWisxHjWzn6RT2U2KMOaGho9Oo%3D' (2024-12-04) • Updated input 'zig': 'github:mitchellh/zig-overlay/2b42ec31944b58fb08a0e7501bbae558935a9a2c?narHash=sha256-ZEI6jN6KS2CHuSQuvo1zB4ty8x78XYiWvySn2c5vVE0%3D' (2024-12-02) → 'github:mitchellh/zig-overlay/5de7d82963cc3d1fc04eefed5ff5b5b0476091b5?narHash=sha256-aLD%2BdIdckBsyaH3Zudg0pykucELnI8eevXtm7jwb7EA%3D' (2024-12-04) |
||
---|---|---|
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