My configuration. Probably nothing to look for here.
8ca98840fb
Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/d39a0fe16b7a66f71ef2428e0e48fd4686e87302?narHash=sha256-zKyVveIiiZnybaLILlnVU/RkGkgTxuNJzXA6MzqqCTs%3D' (2024-11-28) → 'github:nix-community/NUR/d2663258532075556f449dc6fed76fae13cba9c6?narHash=sha256-HIIJAXHWke%2BhNlUNqqMuM6D8k0ZzAPMB47%2BmHv4xrpA%3D' (2024-11-29) • Updated input 'zig': 'github:mitchellh/zig-overlay/5fde187a5aff5fb48e5061d12abd1a2bcd733bb9?narHash=sha256-DXwmKkPDfr1pQulRL86qOf5S/4YJb8gCmHqVVkkFP0M%3D' (2024-11-27) → 'github:mitchellh/zig-overlay/82ff5dde874c2c53964ef8c906afe4232e9f1e78?narHash=sha256-MJ0I8hdwB1hS3JEWHSdxsSGqAvGq59bA9J34MLFiTOU%3D' (2024-11-29) |
||
---|---|---|
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