My configuration. Probably nothing to look for here.
Go to file
Motiejus Jakštys 56e5d4e484 flake.lock: Update
Flake lock file updates:

• Updated input 'nix-index-database':
    'github:Mic92/nix-index-database/2902dc66f64f733bfb45754e984e958e9fe7faf9' (2023-10-08)
  → 'github:Mic92/nix-index-database/29977d0796c058bbcfb2df5b18eb5badf1711007' (2023-10-15)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/bd1cde45c77891214131cbbea5b1203e485a9d51' (2023-10-11)
  → 'github:NixOS/nixpkgs/898cb2064b6e98b8c5499f37e81adbdf2925f7c5' (2023-10-13)
• Updated input 'nur':
    'github:nix-community/NUR/00cf27339d55115a0f5311041dded91049e4426d' (2023-10-14)
  → 'github:nix-community/NUR/5d77923d18bdc1333ce766adbb507fced46dbab7' (2023-10-16)
• Updated input 'zigpkgs':
    'github:mitchellh/zig-overlay/ee376d4012e3c853123ca7083af852313235407c' (2023-10-14)
  → 'github:mitchellh/zig-overlay/767f391c74c9baea7d356ed8158cae468ae10baf' (2023-10-16)
2023-10-16 15:42:27 +03:00
hosts node_exporter: add mtwork 2023-10-16 14:52:06 +03:00
modules syncthing: add missing device 2023-10-11 16:44:28 +03:00
secrets rekey 2023-10-01 22:21:02 +03:00
shared/home hm dev: install vim-vsnip for scala/lsp 2023-10-10 14:50:21 +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 weechat 2023-10-10 22:51:43 +03:00
flake.lock flake.lock: Update 2023-10-16 15:42:27 +03:00
flake.nix fix zigpkgs overlay 2023-10-09 22:35:35 +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