get going with sops agian, not that hard, just need to set up my keys properly...

This commit is contained in:
Chris Kruining 2025-08-11 15:22:58 +02:00
parent 69c6d85754
commit 3a6672cad9
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
4 changed files with 63 additions and 41 deletions

View file

@ -18,4 +18,7 @@ install profile host:
[doc('builds the configuration for the host')]
build host:
nh os build . -H {{host}}
nh os build . -H {{host}}
edit-secrets target:
sops --config "{{justfile_directory()}}/.sops.yml" edit "{{justfile_directory()}}/{{ if target =~ ".+@.+" { "homes" } else { "systems" } }}/x86_64-linux/{{target}}/secrets.yaml"