My configuration. Probably nothing to look for here.
f60965a6bc
Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/3ffbbdbac0566a0977da3d2657b89cbcfe9a173b?narHash=sha256-As8I%2BebItDKtboWgDXYZSIjGlKeqiLBvjxsQHUmAf1Q%3D' (2024-12-30) → 'github:NixOS/nixpkgs/edf04b75c13c2ac0e54df5ec5c543e300f76f1c9?narHash=sha256-tfYRbFhMOnYaM4ippqqid3BaLOXoFNdImrfBfCp4zn0%3D' (2024-12-31) • Updated input 'nur': 'github:nix-community/NUR/0dae436ca5421a4e90bc174bec823792d83354df?narHash=sha256-/M/83RHGZaGGapqAnCfKC6jLPm9%2BusQaxQ9/BuSmnu0%3D' (2025-01-01) → 'github:nix-community/NUR/c65f0ed819bb6a66fd30dd9b28b3ba7cb4828c0c?narHash=sha256-tvV5C2IhOS2p0zHJDLuvxJVPoRGlaRNL1F%2BkgCR6flA%3D' (2025-01-02) • Updated input 'zig': 'github:mitchellh/zig-overlay/422f65e4e38e9c6bfc1da9f18396cfee0f8bd7b6?narHash=sha256-jpQ7B/o%2BfPB%2BdEimTaRk%2BvyI8TpOEmmBH5L6nL4K/pc%3D' (2025-01-01) → 'github:mitchellh/zig-overlay/920cd47223df93f41bcbe0e484448297684ab7c1?narHash=sha256-1jOqLvH//eCbX%2BNcoxURmDkMrqD9HxdrE8BqhjUbETE%3D' (2025-01-01) |
||
---|---|---|
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