My configuration. Probably nothing to look for here.
![]() Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/b27ba4eb322d9d2bf2dc9ada9fd59442f50c8d7c?narHash=sha256-brsCRzLqimpyhORma84c3W2xPbIidZlIc3JGIuQVSNI%3D' (2025-02-28) → 'github:NixOS/nixpkgs/5ef6c425980847c78a80d759abc476e941a9bf42?narHash=sha256-h00vGIh/jxcGl8aWdfnVRD74KuLpyY3mZgMFMy7iKIc%3D' (2025-03-01) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/6313551cd05425cd5b3e63fe47dbc324eabb15e4?narHash=sha256-D%2BR%2BkFxy1KsheiIzkkx/6L63wEHBYX21OIwlFV8JvDs%3D' (2025-02-27) → 'github:NixOS/nixpkgs/303bd8071377433a2d8f76e684ec773d70c5b642?narHash=sha256-cjbHI%2BzUzK5CPsQZqMhE3npTyYFt9tJ3%2BohcfaOF/WM%3D' (2025-03-01) • Updated input 'nur': 'github:nix-community/NUR/1e0113bf56a2b7f7127e2136390e76cb7cb455eb?narHash=sha256-QETBJHO%2BHOKPbqT%2BTeWqsS3kHMN0xBxO6TAP3qZ%2Bi7E%3D' (2025-03-02) → 'github:nix-community/NUR/fbaf37e080f2e35777126cce3c578375514bd38a?narHash=sha256-c37Lc3Q09INuC8akgK13g66q/sU0jDxJmLJRFQFDSTY%3D' (2025-03-03) • Updated input 'nur/nixpkgs': 'github:nixos/nixpkgs/6313551cd05425cd5b3e63fe47dbc324eabb15e4?narHash=sha256-D%2BR%2BkFxy1KsheiIzkkx/6L63wEHBYX21OIwlFV8JvDs%3D' (2025-02-27) → 'github:nixos/nixpkgs/303bd8071377433a2d8f76e684ec773d70c5b642?narHash=sha256-cjbHI%2BzUzK5CPsQZqMhE3npTyYFt9tJ3%2BohcfaOF/WM%3D' (2025-03-01) • Updated input 'pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/25d4946dfc2021584f5bde1fbd2aa97353384a95?narHash=sha256-LWDIJvKWMW0tiih1jTcAK0ncTi3S9IF3gOhpCT1ydik%3D' (2025-03-01) → 'github:cachix/pre-commit-hooks.nix/42b1ba089d2034d910566bf6b40830af6b8ec732?narHash=sha256-JvQvtaphZNmeeV%2BIpHgNdiNePsIpHD5U/7QN5AeY44A%3D' (2025-03-02) • Updated input 'zig': 'github:mitchellh/zig-overlay/2e8e91407fc014324a46f2f20849772cf0dd2155?narHash=sha256-g/kh9kOWVfWQfxcQSWRgSUCAkOCJMqvEQecGA4S9bL4%3D' (2025-03-01) → 'github:mitchellh/zig-overlay/5f7e591f8cd1a103f72c082ff7376419f0e0fe6f?narHash=sha256-eCE/9YiRl6s2TxpmSwbwFLSCTqPAZPy%2BFV6YHQvUWAU%3D' (2025-03-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