We do a little fixing

This commit is contained in:
Lillian Violet 2023-11-20 16:30:00 +01:00
parent d61ff1e0f7
commit b611422278
2 changed files with 2 additions and 2 deletions

View file

@ -128,7 +128,7 @@
extraGroups = ["sudo" "networkmanager" "wheel" "vboxsf"];
shell = pkgs.zsh;
};
nextcloud.extraGroups = [config.sops.secrets."nextcloudadmin" config.sops.secrets."nextclouddb"];
nextcloud.extraGroups = [config.users.groups.keys.name];
};
# Enable completion of system packages by zsh

View file

@ -53,7 +53,7 @@
dbuser = "nextcloud";
dbhost = "/run/postgresql"; # nextcloud will add /.s.PGSQL.5432 by itself
dbname = "nextcloud";
dbpassFile = config.sops.secrets "nextclouddb".path;
dbpassFile = config.sops.secrets."nextclouddb".path;
#TODO: work with sops to set this instead of a file & make sure the db setup is the same as on the previous server for easy migration
adminpassFile = config.sops.secrets."nextcloudadmin".path;