My configuration. Probably nothing to look for here.
5026b5b747
Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/07604fb30702be45f8b2e380effde59914ee7ce5?narHash=sha256-FfYCst%2B60CLt25T0c/ubmp5l/wn2hqKZdckNqRJvNgg%3D' (2024-11-21) → 'github:nix-community/NUR/4d35e3120802e505d822195dba0ab130f5ac480c?narHash=sha256-1lSlNTt%2BNHWGVsY7nsuhJAjF3DlciOuTBM1kZDVn518%3D' (2024-11-22) • Updated input 'zig': 'github:mitchellh/zig-overlay/d7ed8d82e2b26624ad02f551401ef489c779237d?narHash=sha256-jxVS0F3elJuD3HXUkSHIf6rv9udbkwvnJCfXxXqpaLQ%3D' (2024-11-20) → 'github:mitchellh/zig-overlay/094587c4421fb847712aa09a69e4acd16cd61d56?narHash=sha256-C9CfooPEQH0LT2Nphkq7ejMdgagVa7/zUZFqTqtaYV8%3D' (2024-11-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.servers.jakst-home-motiejus-annex2