mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Remove redundant group assignments for sops secrets
This commit is contained in:
parent
529bf4abec
commit
9bfcf3b023
3 changed files with 11 additions and 26 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue