My configuration. Probably nothing to look for here.
![]() Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/0da9e38262198c1a7b674c8fefdff5184dacaae6?narHash=sha256-/HwQwLHJVGHSnxiQJTu6c5m8YwS1tl3KVt3fBVrNkGk%3D' (2025-03-11) → 'github:nix-community/NUR/603a9936c1c3b1c1956a0641f8e107b9a1f0703a?narHash=sha256-qbAgiAMz37XaRNf7Jpmn5%2BVU3ZSe4swaQ8D6zUBanAw%3D' (2025-03-12) • Updated input 'zig': 'github:mitchellh/zig-overlay/8380c16525b7c1e964ae8867036ce8d2f24e3e82?narHash=sha256-c2pb%2BAfobGv6Ac5u6eYbvltdJWX7YNAy0dYnnhHBleg%3D' (2025-03-11) → 'github:mitchellh/zig-overlay/1152ce759114a94134081270affd970ae1b957ed?narHash=sha256-Emk3VnNByigCBlBN34IH2cMrsUqIhdex02uw9TSDsN0%3D' (2025-03-11) |
||
---|---|---|
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.jakst.vpn-home-motiejus-annex2