My configuration. Probably nothing to look for here.
300c173982
Flake lock file updates: • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/88195a94f390381c6afcdaa933c2f6ff93959cb4?narHash=sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs%3D' (2024-12-29) → 'github:NixOS/nixpkgs/6df24922a1400241dae323af55f30e4318a6ca65?narHash=sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk%3D' (2025-01-02) • Updated input 'nur': 'github:nix-community/NUR/4815d0d098a0cac7ced577dbc2086b6661478600?narHash=sha256-TW9pIsH2UNWnaqhhOEEM/hz%2BG6mDT7q3h%2BcIx9TZrU4%3D' (2025-01-03) → 'github:nix-community/NUR/98d1af79da3864e7263f95f4ac1853aef3441d5d?narHash=sha256-MjoXPvJxXr/quB1TKgc4JQuxdqD5Nax%2Bv%2B9fodKASKo%3D' (2025-01-04) • Updated input 'nur/nixpkgs': 'github:nixos/nixpkgs/88195a94f390381c6afcdaa933c2f6ff93959cb4?narHash=sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs%3D' (2024-12-29) → 'github:nixos/nixpkgs/6df24922a1400241dae323af55f30e4318a6ca65?narHash=sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk%3D' (2025-01-02) • Updated input 'zig': 'github:mitchellh/zig-overlay/a7aafb70b3baa858f181774b5bdb37d93bfce010?narHash=sha256-HtwxDdFymLuU0cae2iNDh3hceC9dTRdPtFqcMyryqwo%3D' (2025-01-03) → 'github:mitchellh/zig-overlay/7ccbc34001590a16cb94e8be428020099493b190?narHash=sha256-bOjbgbuJvRHtHOFAJ9U%2BzEajk0N1Z1zG4MNtmsLt55Q%3D' (2025-01-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