Remove redundant group assignments for sops secrets

This commit is contained in:
SebastianStork 2025-05-24 15:31:52 +02:00
parent 529bf4abec
commit 9bfcf3b023
3 changed files with 11 additions and 26 deletions

View file

@ -9,7 +9,6 @@ let
cfg = config.myConfig.nextcloud;
user = config.users.users.nextcloud.name;
inherit (config.users.users.nextcloud) group;
in
{
options.myConfig.nextcloud = {
@ -26,10 +25,7 @@ in
};
config = lib.mkIf cfg.enable {
sops.secrets."nextcloud/admin-password" = {
owner = user;
inherit group;
};
sops.secrets."nextcloud/admin-password".owner = user;
services.nextcloud = {
enable = true;