My configuration. Probably nothing to look for here.
![]() Flake lock file updates: • Updated input 'kolide-launcher': 'github:kolide/nix-agent/d154b67a88e9cf8a6c10fd589afd51b299f7faca?narHash=sha256-zTQNU0u0eF%2BB7HeYAIQI3KQj8Jwd6dZ0AG1KsjEOXkA%3D' (2024-12-02) → 'github:kolide/nix-agent/e4a6b5e05a79dd10bceb98032f3b2681ec71eab0?narHash=sha256-FgiCbOkBtPzidoLb2RIeaeAJUhKbDWjKIwmaF6k12ds%3D' (2025-03-21) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/b75693fb46bfaf09e662d09ec076c5a162efa9f6?narHash=sha256-GheQGRNYAhHsvPxWVOhAmg9lZKkis22UPbEHlmZMthg%3D' (2025-03-19) → 'github:NixOS/nixpkgs/7105ae3957700a9646cc4b766f5815b23ed0c682?narHash=sha256-8XfURTDxOm6%2B33swQJu/hx6xw1Tznl8vJJN5HwVqckg%3D' (2025-03-20) • Updated input 'nur': 'github:nix-community/NUR/6f2a1dce3b2292430e19bfefc93f789c468acb59?narHash=sha256-kWvup6W/VTJtvgicriaqpRakC3EibBXyzKAv/RUYEHc%3D' (2025-03-21) → 'github:nix-community/NUR/c72c4acc9a04d2d242c9dadfee75d358d75a9e38?narHash=sha256-%2BzILWE0iMAb/U7P/WK%2B3%2Bami9F13zLAYT5bwt69veww%3D' (2025-03-22) |
||
---|---|---|
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