My configuration. Probably nothing to look for here.
bd5acc2690
Flake lock file updates: • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/5e4fbfb6b3de1aa2872b76d49fafc942626e2add?narHash=sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg%3D' (2024-11-15) → 'github:NixOS/nixpkgs/23e89b7da85c3640bbc2173fe04f4bd114342367?narHash=sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w%3D' (2024-11-19) • Updated input 'nur': 'github:nix-community/NUR/8ee137273e4a24ac661b43a195848beac5b3bd04?narHash=sha256-SJW1HVIbav/8NlEFMqfiqrhaKcpbMqMFCTZ0cOikXgA%3D' (2024-11-19) → 'github:nix-community/NUR/34ea536162b11e0db2449bd2eb248dccce1bb9e6?narHash=sha256-vWkWJWMujimxIan8vSSXmB6ujov6SgQca3wD4c2EGIk%3D' (2024-11-20) • Updated input 'zig': 'github:mitchellh/zig-overlay/d667054598d541df2266b961b207bb63fe8fe423?narHash=sha256-K9Ckfj8B/BYseN/FjdP0Q%2BfpuXEgl8cVov5t6%2B4D8bU%3D' (2024-11-19) → 'github:mitchellh/zig-overlay/d7ed8d82e2b26624ad02f551401ef489c779237d?narHash=sha256-jxVS0F3elJuD3HXUkSHIf6rv9udbkwvnJCfXxXqpaLQ%3D' (2024-11-20) |
||
---|---|---|
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