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

• Updated input 'deploy-rs':
    'github:serokell/deploy-rs/660180bbbeae7d60dad5a92b30858306945fd427' (2023-11-02)
  → 'github:serokell/deploy-rs/514fa3bc3d24fa85f338fa6a8247ca7e116ab9de' (2023-12-11)
• Updated input 'nix-index-database':
    'github:Mic92/nix-index-database/58ecd98e27e27fcbb27a51a588555c828b1ec56e' (2023-12-10)
  → 'github:Mic92/nix-index-database/45d82e0a8b9dd6c5dd9da835ac0c072239af7785' (2023-12-11)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/b4372c4924d9182034066c823df76d6eaf1f4ec4' (2023-12-07)
  → 'github:NixOS/nixpkgs/781e2a9797ecf0f146e81425c822dca69fe4a348' (2023-12-10)
• Updated input 'nur':
    'github:nix-community/NUR/444a9b5c426db74aea5e9dc8123705e4cf757815' (2023-12-10)
  → 'github:nix-community/NUR/e45022e0e4959af1106b264205980b11b97f9396' (2023-12-11)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/e5ee5c5f3844550c01d2131096c7271cec5e9b78' (2023-11-25)
  → 'github:cachix/pre-commit-hooks.nix/e1d203c2fa7e2593c777e490213958ef81f71977' (2023-12-11)
• Updated input 'zigpkgs':
    'github:mitchellh/zig-overlay/d4ece93f395729de9828fcbb33cbbc81ab0189aa' (2023-12-10)
  → 'github:mitchellh/zig-overlay/6a15c60aaf5791b16a9aad1a5182bd03fc603fc2' (2023-12-11)
2023-12-11 22:00:54 +00:00
hosts remove firefox from non-desktops 2023-12-11 20:08:33 +02:00
modules remove firefox from non-desktops 2023-12-11 20:08:33 +02:00
secrets rekey 2023-10-01 22:21:02 +03:00
shared/home remove firefox from non-desktops 2023-12-11 20:08:33 +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-12-11 22:00:54 +00:00
flake.nix remove firefox from non-desktops 2023-12-11 20:08:33 +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

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