My configuration. Probably nothing to look for here.
e30417aa41
Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/9b1c14d6292d8f8e34415deb7d267e2512e41a6b?narHash=sha256-J/HCnlthc1JnuaUVsrVlgJWsvoB9prSC8TLq/UJa7bM%3D' (2024-12-31) → 'github:nix-community/NUR/0dae436ca5421a4e90bc174bec823792d83354df?narHash=sha256-/M/83RHGZaGGapqAnCfKC6jLPm9%2BusQaxQ9/BuSmnu0%3D' (2025-01-01) • Updated input 'zig': 'github:mitchellh/zig-overlay/6665a93cdd3ab725084ef9fd2a95c4b6bbf0b1e0?narHash=sha256-aDFN0qxte2SO7DI%2Bzu20Krte9/EeOxa/fkgxTJrLatc%3D' (2024-12-30) → 'github:mitchellh/zig-overlay/422f65e4e38e9c6bfc1da9f18396cfee0f8bd7b6?narHash=sha256-jpQ7B/o%2BfPB%2BdEimTaRk%2BvyI8TpOEmmBH5L6nL4K/pc%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