My configuration. Probably nothing to look for here.
![]() Flake lock file updates: • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/5135c59491985879812717f4c9fea69604e7f26f?narHash=sha256-Vr3Qi346M%2B8CjedtbyUevIGDZW8LcA1fTG0ugPY/Hic%3D' (2025-02-26) → 'github:NixOS/nixpkgs/6313551cd05425cd5b3e63fe47dbc324eabb15e4?narHash=sha256-D%2BR%2BkFxy1KsheiIzkkx/6L63wEHBYX21OIwlFV8JvDs%3D' (2025-02-27) • Updated input 'nur': 'github:nix-community/NUR/906d0e30b6d9c63b7df13e05b310368cd97372e8?narHash=sha256-RUW5rJQIGIYV%2BVnC%2BySmangGn1eRcSLNJAA%2BjzeygHo%3D' (2025-02-28) → 'github:nix-community/NUR/803af1dede2d5da2d5d8b9216eadc2d9c286541d?narHash=sha256-ropUCFjTBDFYt5oEWjZaxM0CaINTUcVc7BGNtf0K0TE%3D' (2025-03-01) • Updated input 'nur/nixpkgs': 'github:nixos/nixpkgs/5135c59491985879812717f4c9fea69604e7f26f?narHash=sha256-Vr3Qi346M%2B8CjedtbyUevIGDZW8LcA1fTG0ugPY/Hic%3D' (2025-02-26) → 'github:nixos/nixpkgs/6313551cd05425cd5b3e63fe47dbc324eabb15e4?narHash=sha256-D%2BR%2BkFxy1KsheiIzkkx/6L63wEHBYX21OIwlFV8JvDs%3D' (2025-02-27) • Updated input 'zig': 'github:mitchellh/zig-overlay/74ff6727a9fb18716c4b197eee31dae19cf34ff6?narHash=sha256-58ajEdQRwUe92airKQvOc5tNXzWSJq60dBm1D3SfOJs%3D' (2025-02-27) → 'github:mitchellh/zig-overlay/8f4184dcad59fac2ab06faf08371b6fb4288f619?narHash=sha256-VwZd6L6oOpMlynP0aw9nd5a0qnpJrdQW4G%2BEl50mFXE%3D' (2025-02-28) |
||
---|---|---|
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