My configuration. Probably nothing to look for here.
6ecb1625e0
Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/e7395b0e379646e0ea88b7d6f009684f13d97e62?narHash=sha256-Fow7egJj3C8FC%2BTcKrM93g7t4rMeuSuU95D/8RPVuMY%3D' (2024-11-27) → 'github:nix-community/NUR/d39a0fe16b7a66f71ef2428e0e48fd4686e87302?narHash=sha256-zKyVveIiiZnybaLILlnVU/RkGkgTxuNJzXA6MzqqCTs%3D' (2024-11-28) • Updated input 'zig': 'github:mitchellh/zig-overlay/8ff0781b472f281228db323995a4121534339f10?narHash=sha256-RBLggEz0QB0vfxhyQ/cHw2%2B2yzoN98MWNQ6fyw5%2BVaI%3D' (2024-11-27) → 'github:mitchellh/zig-overlay/5fde187a5aff5fb48e5061d12abd1a2bcd733bb9?narHash=sha256-DXwmKkPDfr1pQulRL86qOf5S/4YJb8gCmHqVVkkFP0M%3D' (2024-11-27) |
||
---|---|---|
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