My configuration. Probably nothing to look for here.
cbbd62a5dd
Flake lock file updates: • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/bdba246946fb079b87b4cada4df9b1cdf1c06132?narHash=sha256-l9ryrx1Twh08a%2BgxrMGM9O/aZKEimZfa6sZVyPCImgI%3D' (2024-11-17) → 'github:Mic92/nix-index-database/0ef970b7021e0ee9ab93437d0e28296e86669b03?narHash=sha256-TjuKScXbj4Ddr0L%2BkEOLFaYOhzbS/k/EFL543wkjN5E%3D' (2024-11-24) • Updated input 'nur': 'github:nix-community/NUR/20cab42aa18252cfb95a76f4dd36ce11860eafa2?narHash=sha256-JvryQ/d/yiDL249%2BdUIEnq6UYkq/74dJPfCqq5i%2Biyg%3D' (2024-11-23) → 'github:nix-community/NUR/86dd7c6cbc3f3994e3e04c46bd9fce3898745d12?narHash=sha256-NZLJGnPKIfQ5iggi89/kin2kh7JJOBAG8mbC2O/pe2Q%3D' (2024-11-24) • Updated input 'zig': 'github:mitchellh/zig-overlay/094587c4421fb847712aa09a69e4acd16cd61d56?narHash=sha256-C9CfooPEQH0LT2Nphkq7ejMdgagVa7/zUZFqTqtaYV8%3D' (2024-11-22) → 'github:mitchellh/zig-overlay/993ce9f1e7c40e62d30d2aaee23742f795db434c?narHash=sha256-5eSxwH5%2ByPGg8kRX%2B4y4VIKMwny9voZhR3HHk/zIsZM%3D' (2024-11-23) |
||
---|---|---|
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