My configuration. Probably nothing to look for here.
a1c5574624
Flake lock file updates: • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/55ab1e1df5daf2476e6b826b69a82862dcbd7544?narHash=sha256-AydPpRBh8%2BNOkrLylG7vTsHrGO2b5L7XkMEL5HlzcA8%3D' (2024-12-29) → 'github:Mic92/nix-index-database/816a6ae88774ba7e74314830546c29e134e0dffb?narHash=sha256-hutd85FA1jUJhhqBRRJ%2Bu7UHO9oFGD/RVm2x5w8WjVQ%3D' (2025-01-05) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/edf04b75c13c2ac0e54df5ec5c543e300f76f1c9?narHash=sha256-tfYRbFhMOnYaM4ippqqid3BaLOXoFNdImrfBfCp4zn0%3D' (2024-12-31) → 'github:NixOS/nixpkgs/d29ab98cd4a70a387b8ceea3e930b3340d41ac5a?narHash=sha256-vk0xwGZSlvZ/596yxOtsk4gxsIx2VemzdjiU8zhjgWw%3D' (2025-01-03) • Updated input 'nur': 'github:nix-community/NUR/98d1af79da3864e7263f95f4ac1853aef3441d5d?narHash=sha256-MjoXPvJxXr/quB1TKgc4JQuxdqD5Nax%2Bv%2B9fodKASKo%3D' (2025-01-04) → 'github:nix-community/NUR/3618adbdbd2a8f55258e344293d812dee9af0be9?narHash=sha256-7/aJQbahdK3kVB/DdJqg4/rc4tyoSJ9xKuKBIHaJ11E%3D' (2025-01-05) • Updated input 'zig': 'github:mitchellh/zig-overlay/7ccbc34001590a16cb94e8be428020099493b190?narHash=sha256-bOjbgbuJvRHtHOFAJ9U%2BzEajk0N1Z1zG4MNtmsLt55Q%3D' (2025-01-03) → 'github:mitchellh/zig-overlay/a9c572eaee80d4f0b96b9defdd17238e592e2038?narHash=sha256-3qFjiooEhFmD0SyM17CqXqpJacu4N7HPJ4qaGW%2BxnnA%3D' (2025-01-05) |
||
---|---|---|
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