My configuration. Probably nothing to look for here.
4c7f85abc1
Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/394571358ce82dff7411395829aa6a3aad45b907?narHash=sha256-m/lh6hYMIWDYHCAsn81CDAiXoT3gmxXI9J987W5tZrE%3D' (2024-12-16) → 'github:NixOS/nixpkgs/2e9e582f93c56602a3c0f187f631cbee3621f51c?narHash=sha256-ErxK8YV3BN5IlDaXafqjOMjOluSpkDbe/AdEyo3mnDg%3D' (2024-12-17) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/3566ab7246670a43abd2ffa913cc62dad9cdf7d5?narHash=sha256-AKU6qqskl0yf2%2BJdRdD0cfxX4b9x3KKV5RqA6wijmPM%3D' (2024-12-13) → 'github:NixOS/nixpkgs/d3c42f187194c26d9f0309a8ecc469d6c878ce33?narHash=sha256-cHar1vqHOOyC7f1%2BtVycPoWTfKIaqkoe1Q6TnKzuti4%3D' (2024-12-17) • Updated input 'nur': 'github:nix-community/NUR/8fdeedcd24d5b73758ccf5993b36acce85e484af?narHash=sha256-MPgvdvnHB3UPN5g6b/T8wkbCzvdcGoKOITXusnQeiYM%3D' (2024-12-18) → 'github:nix-community/NUR/f5a56f2050f25fc5770d80f2dbbb676a9a0460c7?narHash=sha256-pVDY98AKWUrbFU4km9YPcg3BOsj8mkypa6mdUhG3GP8%3D' (2024-12-20) • Updated input 'nur/nixpkgs': 'github:nixos/nixpkgs/3566ab7246670a43abd2ffa913cc62dad9cdf7d5?narHash=sha256-AKU6qqskl0yf2%2BJdRdD0cfxX4b9x3KKV5RqA6wijmPM%3D' (2024-12-13) → 'github:nixos/nixpkgs/d3c42f187194c26d9f0309a8ecc469d6c878ce33?narHash=sha256-cHar1vqHOOyC7f1%2BtVycPoWTfKIaqkoe1Q6TnKzuti4%3D' (2024-12-17) • Updated input 'zig': 'github:mitchellh/zig-overlay/35334c3bb834162619cb09e6fa64db20facdb59e?narHash=sha256-KmgBegl7FR6RFhR7CODNOW0SnqcqvBEJouQGcTPmSxo%3D' (2024-12-18) → 'github:mitchellh/zig-overlay/5306ee0e3282288e839107b9b03e0c49fcc253b4?narHash=sha256-TU1qfA6nZGF1DJEuojVuyfXMfykh8TfgysieEHAh8c8%3D' (2024-12-19) |
||
---|---|---|
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