My configuration. Probably nothing to look for here.
9504052e0a
Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/c65f0ed819bb6a66fd30dd9b28b3ba7cb4828c0c?narHash=sha256-tvV5C2IhOS2p0zHJDLuvxJVPoRGlaRNL1F%2BkgCR6flA%3D' (2025-01-02) → 'github:nix-community/NUR/4815d0d098a0cac7ced577dbc2086b6661478600?narHash=sha256-TW9pIsH2UNWnaqhhOEEM/hz%2BG6mDT7q3h%2BcIx9TZrU4%3D' (2025-01-03) • Updated input 'pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/f0f0dc4920a903c3e08f5bdb9246bb572fcae498?narHash=sha256-ulZN7ps8nBV31SE%2BdwkDvKIzvN6hroRY8sYOT0w%2BE28%3D' (2024-12-21) → 'github:cachix/pre-commit-hooks.nix/a5a961387e75ae44cc20f0a57ae463da5e959656?narHash=sha256-3FZAG%2BpGt3OElQjesCAWeMkQ7C/nB1oTHLRQ8ceP110%3D' (2025-01-03) • Removed input 'pre-commit-hooks/nixpkgs-stable' • Updated input 'zig': 'github:mitchellh/zig-overlay/920cd47223df93f41bcbe0e484448297684ab7c1?narHash=sha256-1jOqLvH//eCbX%2BNcoxURmDkMrqD9HxdrE8BqhjUbETE%3D' (2025-01-01) → 'github:mitchellh/zig-overlay/a7aafb70b3baa858f181774b5bdb37d93bfce010?narHash=sha256-HtwxDdFymLuU0cae2iNDh3hceC9dTRdPtFqcMyryqwo%3D' (2025-01-03) |
||
---|---|---|
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