forked from c3d2/nix-config
Use lib function
This commit is contained in:
parent
f7902022e9
commit
b74cf7f896
|
@ -46,11 +46,7 @@
|
|||
};
|
||||
|
||||
sops = {
|
||||
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
defaultSopsFile = ./secrets.yaml;
|
||||
secrets."portunus/seed" = {
|
||||
inherit (config.services.portunus) group;
|
||||
owner = config.services.portunus.user;
|
||||
};
|
||||
secrets."portunus/seed" = lib.sops.permissionForUser "portunus";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user