My configuration. Probably nothing to look for here.
cb0685fad5
Flake lock file updates: • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/c8470746a9f4d1ab4c7563db7da995595ed64ca2?narHash=sha256-zD8ciZm42wi1ijHyS7J0dmBE3QXMA/qBfwW/SEXhiwI%3D' (2024-12-25) → 'github:Mic92/nix-index-database/7e3246f6ad43b44bc1c16d580d7bf6467f971530?narHash=sha256-kWNi45/mRjQMG%2BUpaZQ7KyPavYrKfle3WgLn9YeBBVg%3D' (2024-12-26) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/6c90912761c43e22b6fb000025ab96dd31c971ff?narHash=sha256-8T660guvdaOD%2B2/Cj970bWlQwAyZLKrrbkhYOFcY1YE%3D' (2024-12-23) → 'github:NixOS/nixpkgs/4005c3ff7505313cbc21081776ad0ce5dfd7a3ce?narHash=sha256-VIAjBr1qGcEbmhLwQJD6TABppPMggzOvqFsqkDoMsAY%3D' (2024-12-25) • Updated input 'nur': 'github:nix-community/NUR/1a5a672cc4b4340068a11ddb5808e4ab3eef6646?narHash=sha256-pYfTgSnE9pSomA04wtQRd6wn3Rf14aVmx4wAcAQEZ0I%3D' (2024-12-26) → 'github:nix-community/NUR/9bfcc7870b2a3537a1752e7007981dd5d520c088?narHash=sha256-ykLjBSKiELgSTcDwW97Nm5uydowAu3osQTMlNcd6Wro%3D' (2024-12-27) • Updated input 'zig': 'github:mitchellh/zig-overlay/bc4fd6e14e166769839bc0085803b8c21771750d?narHash=sha256-I%2BORk8or5eEBdK/2VEL2jDqBmV/sWaRsHTqr%2BDrEvdI%3D' (2024-12-25) → 'github:mitchellh/zig-overlay/668674c8d34593b3a86512b5bb8f34c398927431?narHash=sha256-renCvX/Eqbqujn3UtP5UDoh2Tyu1xvtEBEU/BTDKZ9o%3D' (2024-12-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