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

• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/fe01780d356d70fd119a19277bff71d3e78dad00?narHash=sha256-aQorWITXZu7b095UwnpUvcGt9dNJie/GO9r4hZfe2sU%3D' (2024-12-01)
  → 'github:NixOS/nixos-hardware/cceee0a31d2f01bcc98b2fbd591327c06a4ea4f9?narHash=sha256-fc6jTzIwCIVWTX50FtW6AZpuukuQWSEbPiyg6ZRGWFY%3D' (2024-12-03)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/62c435d93bf046a5396f3016472e8f7c8e2aed65?narHash=sha256-F7thesZPvAMSwjRu0K8uFshTk3ZZSNAsXTIFvXBT%2B34%3D' (2024-11-30)
  → 'github:NixOS/nixpkgs/f9f0d5c5380be0a599b1fb54641fa99af8281539?narHash=sha256-En%2BgSoVJ3iQKPDU1FHrR6zIxSLXKjzKY%2Bpnh9tt%2BYts%3D' (2024-12-02)
• Updated input 'nur':
    'github:nix-community/NUR/c9e5dec149daabcae8d723122085771696c8a804?narHash=sha256-iZJwMXBHC2pOrtO89Upenhm2rUMSqoGoH/rM4GTMkY8%3D' (2024-12-02)
  → 'github:nix-community/NUR/251d756a74e67bda25d89327b01a3da19dddabae?narHash=sha256-RIlhnKlObJ1sEdzBP6Nuy4jLUiQnmWWXVsRHRbv6SzY%3D' (2024-12-03)
• Updated input 'zig':
    'github:mitchellh/zig-overlay/4e881be4521f123ad42b27f498b12d533b252b57?narHash=sha256-ow5onhv9g0zekp3TeCnKD8f1n8G7jbh4wh9XfrohrsE%3D' (2024-12-01)
  → 'github:mitchellh/zig-overlay/2b42ec31944b58fb08a0e7501bbae558935a9a2c?narHash=sha256-ZEI6jN6KS2CHuSQuvo1zB4ty8x78XYiWvySn2c5vVE0%3D' (2024-12-02)
2024-12-03 12:02:58 +00:00
hosts fwminex: fix boot config 2024-12-03 13:54:57 +02:00
modules desktop: fix scoping 2024-12-03 14:02:44 +02:00
pkgs rm imapsync 2024-11-07 16:48:25 +02:00
secrets mtworx: configure kolide-launcher 2024-12-03 01:18:40 +02:00
shared work: +1password 2024-11-28 21:27:05 +02:00
.envrc direnv: bump to 3.0.4 2024-03-10 17:20:09 +02: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 rm vno3-rp3b 2024-12-01 23:06:26 +02:00
flake.lock flake.lock: Update 2024-12-03 12:02:58 +00:00
flake.nix mtworx: configure kolide-launcher 2024-12-03 01:18:40 +02:00
LICENSE relicense 2024-01-15 18:18:45 +02:00
README.md borg: README 2024-08-27 09:00:57 +03:00
secrets.nix mtworx: configure kolide-launcher 2024-12-03 01:18:40 +02:00

Config

Flakes:

$ deploy --interactive '#fwminex'

$ nix build .#deploy.nodes.fra1-b.profiles.system.path

Other:

$ nix build .#nixosConfigurations.vno3-rp3b.config.system.build.toplevel
$ nix eval .#nixosConfigurations.fwminex.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

Borg

BORG_PASSCOMMAND="cat /run/agenix/borgbackup-fwminex" borg --remote-path=borg1 list zh2769@zh2769.rsync.net:fwminex.servers.jakst-home-motiejus-annex2