started adding secrets support
This commit is contained in:
parent
c15554f510
commit
089ef41de0
2 changed files with 12 additions and 0 deletions
8
.sops.yml
Normal file
8
.sops.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
keys:
|
||||
- &primary age10c5hmykkduvy75yvqfnchm5lcesr5puarhkwp4l7xdwpykdm397q6xdxuy
|
||||
|
||||
creation_rules:
|
||||
- path_regex: secrets/secrets.yml$
|
||||
key_groups:
|
||||
- age:
|
||||
- *primary
|
|
@ -15,6 +15,10 @@ in
|
|||
{
|
||||
user = mkOpt attrs {};
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.sops
|
||||
];
|
||||
|
||||
sneeuwvlok = {
|
||||
dir = mkOpt path (findFirst pathExists (toString ../.) [
|
||||
"${config.user.home}/Github/.files"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue