My configuration. Probably nothing to look for here.
Go to file
2024-06-11 20:53:31 +03:00
hacks/orangepi5plus/uboot uboot: removeuse bl31 from tfa 2024-03-08 14:29:41 +02:00
hosts /dev/disk/by-id/... -> /dev/nvme0n1pX 2024-06-08 01:18:04 +03:00
modules base: +flex +bison 2024-06-11 09:27:13 +03:00
pkgs desktop: add okular 2024-05-08 23:18:58 +03:00
secrets syncthing keys: add mtworx, vno1-oh2 2024-06-05 23:08:35 +03:00
shared orangepi5+: switch to 6.10-rc1 2024-06-11 20:53:31 +03: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 sshPattern: ? is a single digit(!) 2024-06-08 00:01:44 +03:00
flake.lock flake.lock: Update 2024-06-10 23:30:52 +00:00
flake.nix syncthing keys: add mtworx, vno1-oh2 2024-06-05 23:08:35 +03:00
LICENSE relicense 2024-01-15 18:18:45 +02:00
README.md remove mtwork 2024-02-27 18:20:44 +02:00
secrets.nix syncthing keys: add mtworx, vno1-oh2 2024-06-05 23:08:35 +03:00
statix.toml compress-drv-tests 2024-02-29 13:45:11 +02: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 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