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

• Updated input 'agenix':
    'github:ryantm/agenix/417caa847f9383e111d1397039c9d4337d024bf0' (2023-12-24)
  → 'github:ryantm/agenix/8cb01a0e717311680e0cbca06a76cbceba6f3ed6' (2024-02-13)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/6e5cc385fc8cf5ca6495d70243074ccdea9f64c7' (2024-02-06)
  → 'github:NixOS/nixos-hardware/f1b2f71c86a5b1941d20608db0b1e88a07d31303' (2024-02-13)
• Updated input 'nur':
    'github:nix-community/NUR/89c1752919eb4615b35db22557a10b3ac5aedc00' (2024-02-12)
  → 'github:nix-community/NUR/b8f58824a8b5e2c4e4d5ffa51739f23e021935a5' (2024-02-13)
2024-02-13 23:30:09 +00:00
hosts compress: accept args too 2024-02-13 21:01:38 +02:00
modules desktop: add xorg.lndir 2024-02-13 22:39:29 +02:00
pkgs compress-all: remove xz and zst 2024-02-13 22:41:41 +02:00
secrets fra1-a: backup e11sync 2024-01-25 14:49:51 +02:00
shared/home add yamllint 2024-02-07 13:53:02 +02: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 soju: listen ws+insecure on :6698 2024-02-12 15:50:52 +02:00
flake.lock flake.lock: Update 2024-02-13 23:30:09 +00:00
flake.nix compress: accept args too 2024-02-13 21:01:38 +02:00
LICENSE relicense 2024-01-15 18:18:45 +02:00
README.md update README a bit 2023-10-18 16:52:03 +03:00
secrets.nix fra1-a: backup e11sync 2024-01-25 14:49:51 +02:00
statix.toml statix: fix bugs with inherit 2023-10-02 00:00:30 +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
$ nix build .#homeConfigurations.x86_64-linux.motiejusja.activationPackage

$ 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