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

• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/83e571bb291161682b9c3ccd48318f115143a550' (2024-02-02)
  → 'github:NixOS/nixos-hardware/6e5cc385fc8cf5ca6495d70243074ccdea9f64c7' (2024-02-06)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/25e3d4c0d3591c99929b1ec07883177f6ea70c9d' (2024-02-01)
  → 'github:NixOS/nixpkgs/9f2ee8c91ac42da3ae6c6a1d21555f283458247e' (2024-02-05)
• Updated input 'nur':
    'github:nix-community/NUR/25e4391947cc2bb53de6f2277893b5339207d41f' (2024-02-05)
  → 'github:nix-community/NUR/86be2f150dfce413d8d3a1bc782a2baea7f427e2' (2024-02-06)
2024-02-06 23:30:49 +00:00
hosts Revert "miniflux" 2024-02-05 12:40:29 +02:00
modules add nicer + tmuxbash 2024-02-05 09:19:16 +02:00
pkgs tmuxbash: run bash from $PATH 2024-02-05 10:05:42 +02:00
secrets fra1-a: backup e11sync 2024-01-25 14:49:51 +02:00
shared/home hm: add poop and ripgrep 2024-02-05 13:42:13 +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 "miniflux" 2024-02-05 12:40:29 +02:00
flake.lock flake.lock: Update 2024-02-06 23:30:49 +00:00
flake.nix flake.nix: remove redundant 'rec' 2024-02-06 09:53:14 +02:00
LICENSE relicense 2024-01-15 18:18:45 +02:00
README.md update README a bit 2023-10-18 16:52:03 +03:00
secrets.nix fra1-a: backup e11sync 2024-01-25 14:49:51 +02: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