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

• Updated input 'nix-index-database':
    'github:Mic92/nix-index-database/311d6cf3ad3f56cb051ffab1f480b2909b3f754d?narHash=sha256-icEMqBt4HtGH52PU5FHidgBrNJvOfXH6VQKNtnD1aw8%3D' (2024-12-15)
  → 'github:Mic92/nix-index-database/d583b2d142f0428313df099f4a2dcf2a0496aa78?narHash=sha256-zvMLS8BGn%2BkMG7tLLT3PJ67/S9yqZ9B7V8hKBa9cRRY%3D' (2024-12-22)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/b47fd6fa00c6afca88b8ee46cfdb00e104f50bca?narHash=sha256-nbG9TijTMcfr%2Bau7ZVbKpAhMJzzE2nQBYmRvSdXUD8g%3D' (2024-12-19)
  → 'github:NixOS/nixpkgs/1c6e20d41d6a9c1d737945962160e8571df55daa?narHash=sha256-GIMyMt1pkkoXdCq9un859bX6YQZ/iYtukb9R5luazLM%3D' (2024-12-20)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/d3c42f187194c26d9f0309a8ecc469d6c878ce33?narHash=sha256-cHar1vqHOOyC7f1%2BtVycPoWTfKIaqkoe1Q6TnKzuti4%3D' (2024-12-17)
  → 'github:NixOS/nixpkgs/d70bd19e0a38ad4790d3913bf08fcbfc9eeca507?narHash=sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ%3D' (2024-12-19)
• Updated input 'nur':
    'github:nix-community/NUR/74ae5912365c3f7d0a91fac47641fb8394b9452b?narHash=sha256-x/efknzMwy/yJGdGCrw8O4XRIPBXOD2cAMvSpoi2Clg%3D' (2024-12-21)
  → 'github:nix-community/NUR/cf4022fae9d7a59798e681f3e3c07c0146f2ec66?narHash=sha256-OkcMRs%2B3YysXxQKl5WWiG1QN7M3wDKHNU3OVZA7qNQM%3D' (2024-12-22)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/d3c42f187194c26d9f0309a8ecc469d6c878ce33?narHash=sha256-cHar1vqHOOyC7f1%2BtVycPoWTfKIaqkoe1Q6TnKzuti4%3D' (2024-12-17)
  → 'github:nixos/nixpkgs/d70bd19e0a38ad4790d3913bf08fcbfc9eeca507?narHash=sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ%3D' (2024-12-19)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/0ddd26d0925f618c3a5d85a4fa5eb1e23a09491d?narHash=sha256-nzE5UbJ41aPEKf8R2ZFYtLkqPmF7EIUbNEdHMBLg0Ig%3D' (2024-12-17)
  → 'github:cachix/pre-commit-hooks.nix/f0f0dc4920a903c3e08f5bdb9246bb572fcae498?narHash=sha256-ulZN7ps8nBV31SE%2BdwkDvKIzvN6hroRY8sYOT0w%2BE28%3D' (2024-12-21)
2024-12-22 07:00:25 +00:00
hosts vno1-gdrx: +rr-zen_workaround 2024-12-14 21:11:34 +02:00
modules desktop: +cppcheck 2024-12-21 14:19:05 +02:00
pkgs rm imapsync 2024-11-07 16:48:25 +02:00
secrets vno3-nk: secrets 2024-12-06 01:28:23 +02:00
shared work: remove zoom-us 2024-12-12 10:37:19 +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 move hdd to vno3-nk 2024-12-06 07:38:03 +02:00
flake.lock flake.lock: Update 2024-12-22 07:00:25 +00:00
flake.nix rm nixgl 2024-12-07 22:09:32 +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 vno3-nk: secrets 2024-12-06 01:28:23 +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