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

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8f1180704ac35baded1a74164365ac7cdfba6f38' (2023-11-22)
  → 'github:NixOS/nixpkgs/1216a5ba22a93a4a3a3bfdb4bff0f4727c576fcc' (2023-11-24)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/19cbff58383a4ae384dea4d1d0c823d72b49d614' (2023-11-22)
  → 'github:NixOS/nixpkgs/5a09cb4b393d58f9ed0d9ca1555016a8543c2ac8' (2023-11-24)
• Updated input 'nur':
    'github:nix-community/NUR/ebf2c68214f10ee5b9372ae4960a7b54af514bd3' (2023-11-24)
  → 'github:nix-community/NUR/c21bb3cafbc37346254c67f2c755f6f28016fb13' (2023-11-25)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/e558068cba67b23b4fbc5537173dbb43748a17e8' (2023-11-15)
  → 'github:cachix/pre-commit-hooks.nix/e5ee5c5f3844550c01d2131096c7271cec5e9b78' (2023-11-25)
• Updated input 'zigpkgs':
    'github:mitchellh/zig-overlay/2c9179e22a4759c7c88438a4a9eb0f5e3c00d3b0' (2023-11-24)
  → 'github:mitchellh/zig-overlay/d93c1536859fd2d9780203be7c01af772e0f84be' (2023-11-25)
2023-11-25 22:01:28 +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
LICENSE add a license 2023-04-13 23:50:42 +03:00
README.md update README a bit 2023-10-18 16:52:03 +03:00
data.nix Revert "dns: add esphome" 2023-11-16 14:50:06 +02:00
flake.lock flake.lock: Update 2023-11-25 22:01:28 +00:00
flake.nix home: use git from nixpkgs-unstable 2023-11-21 12:38:44 +02:00
nixpkgs.nix nix fmt . 2023-04-03 16:50:52 +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

README.md

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