My configuration. Probably nothing to look for here.
58857e7344
Flake lock file updates: • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/f9fdf8285690a351e8998f1e703ebdf9cdf51dee' (2024-09-30) → 'github:Mic92/nix-index-database/0f7169d3ec7ef1477af6e39731e67a1dc7a9f6e7' (2024-10-06) • Updated input 'nur': 'github:nix-community/NUR/df48b722316f5a0eab0cd7d8403dd2c82848e3a2' (2024-10-05) → 'github:nix-community/NUR/882ce566122ca45ad2f00ad868bfec184923d9db' (2024-10-06) |
||
---|---|---|
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