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

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f741f8a839912e272d7e87ccf4b9dbc6012cdaf9' (2023-11-20)
  → 'github:NixOS/nixpkgs/8f1180704ac35baded1a74164365ac7cdfba6f38' (2023-11-22)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/e4ad989506ec7d71f7302cc3067abd82730a4beb' (2023-11-19)
  → 'github:NixOS/nixpkgs/19cbff58383a4ae384dea4d1d0c823d72b49d614' (2023-11-22)
• Updated input 'nur':
    'github:nix-community/NUR/36f6762053dcc282923bda47de2582e2b7c5c878' (2023-11-22)
  → 'github:nix-community/NUR/51550286889673bab46f823306d2aa36fe7bffb4' (2023-11-23)
• Updated input 'zigpkgs':
    'github:mitchellh/zig-overlay/f7a7dc4699f7342e5a61e65de6756952fbac3d8f' (2023-11-22)
  → 'github:mitchellh/zig-overlay/398de0245516fafb076f118ca90bcbcc7b0a238d' (2023-11-23)
2023-11-23 22:01:30 +00:00
hosts vno3-rp3b: disable i2c 2023-11-22 22:22:58 +02:00
modules bcc -> perf-tools 2023-11-22 18:09:15 +02:00
secrets rekey 2023-10-01 22:21:02 +03:00
shared/home home: use git from nixpkgs-unstable 2023-11-21 12:38:44 +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 Revert "dns: add esphome" 2023-11-16 14:50:06 +02:00
flake.lock flake.lock: Update 2023-11-23 22:01:30 +00:00
flake.nix home: use git from nixpkgs-unstable 2023-11-21 12:38:44 +02: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 update README a bit 2023-10-18 16:52:03 +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
$ 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