My configuration. Probably nothing to look for here.
Go to file
Deployerbot Main 2545f6ccb1 flake.lock: Update
Flake lock file updates:

• Updated input 'agenix':
    'github:ryantm/agenix/1f677b3e161d3bdbfd08a939e8f25de2568e0ef4' (2023-09-22)
  → 'github:ryantm/agenix/daf42cb35b2dc614d1551e37f96406e4c4a2d3e4' (2023-10-08)
• Updated input 'nix-index-database':
    'github:Mic92/nix-index-database/031d4b22505fdea47bd53bfafad517cd03c26a4f' (2023-10-01)
  → 'github:Mic92/nix-index-database/2902dc66f64f733bfb45754e984e958e9fe7faf9' (2023-10-08)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8a4c17493e5c39769f79117937c79e1c88de6729' (2023-10-03)
  → 'github:NixOS/nixpkgs/5a237aecb57296f67276ac9ab296a41c23981f56' (2023-10-07)
• Updated input 'nur':
    'github:nix-community/NUR/dc890e97efbfeb0294fa5ac8ed12cd3e9cd7b65a' (2023-10-07)
  → 'github:nix-community/NUR/e59a27dcfd30d62a5927fe9f89c273cc15d09c47' (2023-10-08)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/66c352d33e0907239e4a69416334f64af2c685cc' (2023-10-05)
  → 'github:cachix/pre-commit-hooks.nix/8edf336c5ca85efe20004d076747f91b85a6d087' (2023-10-08)
2023-10-08 22:00:48 +00:00
hosts starting with some scala 2023-10-08 23:00:52 +03:00
modules syncthing: share books with mxp10 2023-10-08 23:22:07 +03:00
secrets rekey 2023-10-01 22:21:02 +03:00
shared/home starting with some scala 2023-10-08 23:00:52 +03:00
.envrc move home-manager config to a dedicated location 2023-10-06 11:24:00 +03:00
.gitattributes Configure git repository for gpg file diff. 2023-01-03 13:41:30 +02:00
.gitignore enable some checks in pre-commit hooks 2023-10-02 00:00:30 +03:00
data.nix dns: preparing to move jakstys.lt 2023-10-08 16:27:47 +03:00
flake.lock flake.lock: Update 2023-10-08 22:00:48 +00:00
flake.nix starting with some scala 2023-10-08 23:00:52 +03:00
LICENSE add a license 2023-04-13 23:50:42 +03:00
nixpkgs.nix nix fmt . 2023-04-03 16:50:52 +03:00
README.md rename vno1-rp3b to vno3-rp3b 2023-09-14 13:27:05 +03:00
secrets.nix rekey 2023-10-01 22:21:02 +03:00
statix.toml statix: fix bugs with inherit 2023-10-02 00:00:30 +03:00
yubikey-installer.nix update yubikey-installer.nix to 23.05 and nix flake update 2023-07-20 15:19:33 +03:00

Config

Flakes:

$ deploy --interactive '#vno1-oh2'

$ nix build .#deploy.nodes.fra1-a.profiles.system.path

Other:

$ nix build .#nixosConfigurations.vno3-rp3b.config.system.build.toplevel

Debug

$ nix eval .#nixosConfigurations.vno1-oh2.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