My configuration. Probably nothing to look for here.
Go to file
Motiejus Jakštys 4c04b8eacf vno1-op5p: start with secrets
need to recode
2024-03-08 17:20:04 +00:00
hacks/orangepi5plus/uboot uboot: removeuse bl31 from tfa 2024-03-08 14:29:41 +02:00
hosts vno1-op5p 2024-03-07 08:35:05 +02:00
modules fix perf 2024-03-07 14:19:29 +02:00
pkgs compress-drv-tests 2024-02-29 13:45:11 +02:00
secrets fra1-a: backup e11sync 2024-01-25 14:49:51 +02:00
shared CRYPTO_DEV_ROCKCHIP2_DEBUG 2024-03-07 13:40:44 +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 remove mtwork 2024-02-27 18:20:44 +02:00
data.nix vno1-op5p: start with secrets 2024-03-08 17:20:04 +00:00
flake.lock flake.lock: Update 2024-03-07 23:30:48 +00:00
flake.nix vno1-op5p: start with secrets 2024-03-08 17:20:04 +00:00
secrets.nix vno1-op5p: start with secrets 2024-03-08 17:20:04 +00:00
statix.toml compress-drv-tests 2024-02-29 13:45:11 +02: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 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