My configuration. Probably nothing to look for here.
301386066b
Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/d51c28603def282a24fa034bcb007e2bcb5b5dd0' (2024-10-09) → 'github:NixOS/nixpkgs/c505ebf777526041d792a49d5f6dd4095ea391a7' (2024-10-11) • Updated input 'nur': 'github:nix-community/NUR/fc80a73f0318005f8f9c9193a6c62ea0469276d1' (2024-10-11) → 'github:nix-community/NUR/26bd630cdb134384463f007ebf06fb9282f2c002' (2024-10-12) • Updated input 'pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/4ebefcac44b5116cf5741be858245db769ddedd1' (2024-10-10) → 'github:cachix/pre-commit-hooks.nix/06bb5971c139959d9a951f34e4264d32f5d998e7' (2024-10-11) |
||
---|---|---|
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