My configuration. Probably nothing to look for here.
3d4b272d71
Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/d29ab98cd4a70a387b8ceea3e930b3340d41ac5a?narHash=sha256-vk0xwGZSlvZ/596yxOtsk4gxsIx2VemzdjiU8zhjgWw%3D' (2025-01-03) → 'github:NixOS/nixpkgs/cbd8ec4de4469333c82ff40d057350c30e9f7d36?narHash=sha256-DjkQPnkAfd7eB522PwnkGhOMuT9QVCZspDpJJYyOj60%3D' (2025-01-05) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/6df24922a1400241dae323af55f30e4318a6ca65?narHash=sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk%3D' (2025-01-02) → 'github:NixOS/nixpkgs/8f3e1f807051e32d8c95cd12b9b421623850a34d?narHash=sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs%2BrI%3D' (2025-01-04) • Updated input 'nur': 'github:nix-community/NUR/3618adbdbd2a8f55258e344293d812dee9af0be9?narHash=sha256-7/aJQbahdK3kVB/DdJqg4/rc4tyoSJ9xKuKBIHaJ11E%3D' (2025-01-05) → 'github:nix-community/NUR/bf8f7e8d409f70068bb71bb2ed5de0dcf6bc95b3?narHash=sha256-B3A1cFfk2vq1zhkSBbnOpVW%2BkA7H5PVxv9FbPJWH8wQ%3D' (2025-01-06) • Updated input 'nur/nixpkgs': 'github:nixos/nixpkgs/6df24922a1400241dae323af55f30e4318a6ca65?narHash=sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk%3D' (2025-01-02) → 'github:nixos/nixpkgs/8f3e1f807051e32d8c95cd12b9b421623850a34d?narHash=sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs%2BrI%3D' (2025-01-04) • Updated input 'zig': 'github:mitchellh/zig-overlay/a9c572eaee80d4f0b96b9defdd17238e592e2038?narHash=sha256-3qFjiooEhFmD0SyM17CqXqpJacu4N7HPJ4qaGW%2BxnnA%3D' (2025-01-05) → 'github:mitchellh/zig-overlay/6e8d9aa1984801e44140290d336e7b9fbe49c4b4?narHash=sha256-j1k1Z4YlxWAdYyXZML2fGhKfueZ9J0Tz8x0U853dhu4%3D' (2025-01-06) |
||
---|---|---|
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