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

• Updated input 'home-manager':
    'github:nix-community/home-manager/aeb2232d7a32530d3448318790534d196bf9427a' (2023-11-24)
  → 'github:nix-community/home-manager/6761b8188b860f374b457eddfdb05c82eef9752f' (2023-12-10)
• Updated input 'nix-index-database':
    'github:Mic92/nix-index-database/ca1f1798f63ada20dffcb8b23039b00a597dafe9' (2023-12-07)
  → 'github:Mic92/nix-index-database/58ecd98e27e27fcbb27a51a588555c828b1ec56e' (2023-12-10)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/fa194fc484fd7270ab324bb985593f71102e84d1' (2023-12-04)
  → 'github:NixOS/nixos-hardware/030edbb68e69f2b97231479f98a9597024650df2' (2023-12-10)
• Updated input 'nur':
    'github:nix-community/NUR/5a59ca006e55ce86e924af2cee1977e9db5b2f43' (2023-12-09)
  → 'github:nix-community/NUR/444a9b5c426db74aea5e9dc8123705e4cf757815' (2023-12-10)
• Updated input 'zigpkgs':
    'github:mitchellh/zig-overlay/e6b416a7e3ae013ac9954018fb882fd58dd3075f' (2023-12-09)
  → 'github:mitchellh/zig-overlay/d4ece93f395729de9828fcbb33cbbc81ab0189aa' (2023-12-10)
2023-12-11 20:08:33 +02:00
hosts add geoipWithDatabase 2023-12-08 19:53:04 +02:00
modules firefox: 2023-12-09 09:57:06 +02:00
secrets rekey 2023-10-01 22:21:02 +03:00
shared/home firefox: 2023-12-11 20:08:32 +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 20:08:33 +02:00
flake.nix nixConfig.extra-experimental-features 2023-11-30 16:44:11 +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