started adding secrets support

This commit is contained in:
Chris Kruining 2025-03-09 11:56:51 +01:00
parent c15554f510
commit 089ef41de0
2 changed files with 12 additions and 0 deletions

8
.sops.yml Normal file
View file

@ -0,0 +1,8 @@
keys:
- &primary age10c5hmykkduvy75yvqfnchm5lcesr5puarhkwp4l7xdwpykdm397q6xdxuy
creation_rules:
- path_regex: secrets/secrets.yml$
key_groups:
- age:
- *primary

View file

@ -15,6 +15,10 @@ in
{
user = mkOpt attrs {};
environment.systemPackages = [
pkgs.sops
];
sneeuwvlok = {
dir = mkOpt path (findFirst pathExists (toString ../.) [
"${config.user.home}/Github/.files"