1
0
forked from c3d2/nix-config

Use lib function

This commit is contained in:
Sandro - 2022-12-20 04:55:04 +01:00
parent f7902022e9
commit b74cf7f896
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -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";
};
}