My configuration. Probably nothing to look for here.
39927469bb
Flake lock file updates: • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/7e3246f6ad43b44bc1c16d580d7bf6467f971530?narHash=sha256-kWNi45/mRjQMG%2BUpaZQ7KyPavYrKfle3WgLn9YeBBVg%3D' (2024-12-26) → 'github:Mic92/nix-index-database/55ab1e1df5daf2476e6b826b69a82862dcbd7544?narHash=sha256-AydPpRBh8%2BNOkrLylG7vTsHrGO2b5L7XkMEL5HlzcA8%3D' (2024-12-29) • Updated input 'nur': 'github:nix-community/NUR/89e6c687ba44d5e387b2ccbc0368607d628701dc?narHash=sha256-Naer9mc5ozxqyb3DHWPw5Wd5J2rLG4amEuzaCQoylpI%3D' (2024-12-28) → 'github:nix-community/NUR/e70956e3498c04d5340cb34c17c2d35eb76e6dc8?narHash=sha256-dMkfagk%2B%2BsDGycJQgXV0dBaYvnKXrdeU0hK3QQnAY1s%3D' (2024-12-29) • Updated input 'zig': 'github:mitchellh/zig-overlay/7e09350be2e1622e125e734166edbfacdd8702af?narHash=sha256-npV0buuzGZdrstAPJMXNlq1MyrnSigVGBG105khKhoI%3D' (2024-12-28) → 'github:mitchellh/zig-overlay/639f18e72540fe1f46bcdedf37c90dd9131cda6d?narHash=sha256-Nmo%2BnId69rTNgkLQI5l920S8EiBLDeaBW88Pb45hte4%3D' (2024-12-29) |
||
---|---|---|
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