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

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9f2ee8c91ac42da3ae6c6a1d21555f283458247e' (2024-02-05)
  → 'github:NixOS/nixpkgs/6832d0d99649db3d65a0e15fa51471537b2c56a6' (2024-02-07)
• Updated input 'nur':
    'github:nix-community/NUR/c6ce2176842d103b5c956269481169f1168ba5cd' (2024-02-07)
  → 'github:nix-community/NUR/a61bebc12b20c4ed92df1dd8b479c6f91ee40188' (2024-02-08)
2024-02-08 23:30:48 +00:00
hosts Revert "miniflux" 2024-02-05 12:40:29 +02:00
modules add yamllint 2024-02-07 13:53:02 +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 add yamllint 2024-02-07 13:53:02 +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
LICENSE relicense 2024-01-15 18:18:45 +02:00
README.md update README a bit 2023-10-18 16:52:03 +03:00
data.nix Revert "miniflux" 2024-02-05 12:40:29 +02:00
flake.lock flake.lock: Update 2024-02-08 23:30:48 +00:00
flake.nix flake.nix: remove redundant 'rec' 2024-02-06 09:53:14 +02: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

README.md

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