mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-17 02:25:12 -05:00
feat: nextcloud test
This commit is contained in:
parent
5b48e0a3a6
commit
0f4c3de02f
1 changed files with 13 additions and 12 deletions
|
@ -21,16 +21,16 @@ in {
|
||||||
https = true;
|
https = true;
|
||||||
package = pkgs.nextcloud30;
|
package = pkgs.nextcloud30;
|
||||||
phpOptions."opcache.interned_strings_buffer" = "24";
|
phpOptions."opcache.interned_strings_buffer" = "24";
|
||||||
# extraAppsEnable = true;
|
extraAppsEnable = true;
|
||||||
# extraApps = {
|
extraApps = {
|
||||||
# inherit
|
inherit
|
||||||
# (config.services.nextcloud.package.packages.apps)
|
(config.services.nextcloud.package.packages.apps)
|
||||||
# calendar
|
calendar
|
||||||
# ;
|
;
|
||||||
# };
|
};
|
||||||
config = {
|
config = {
|
||||||
adminpassFile = config.sops.secrets."${nextcloud.name}-pass".path;
|
adminpassFile = config.sops.secrets."${nextcloud.name}-pass".path;
|
||||||
adminuser = "admin";
|
adminuser = user0;
|
||||||
dbtype = "pgsql";
|
dbtype = "pgsql";
|
||||||
};
|
};
|
||||||
database = {
|
database = {
|
||||||
|
@ -110,10 +110,11 @@ in {
|
||||||
# depends = [server.storage0.mount];
|
# depends = [server.storage0.mount];
|
||||||
# };
|
# };
|
||||||
|
|
||||||
# systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
# "Z ${nextcloud.paths.path0} 750 ${nextcloud.name} ${nextcloud.name} -"
|
"Z /var/lib/${nextcloud.name} 750 ${nextcloud.name} ${nextcloud.name} -"
|
||||||
# "Z ${nextcloud.sops.path0} 750 ${nextcloud.name} ${nextcloud.name} -"
|
# "Z ${nextcloud.paths.path0} 750 ${nextcloud.name} ${nextcloud.name} -"
|
||||||
# ];
|
# "Z ${nextcloud.sops.path0} 750 ${nextcloud.name} ${nextcloud.name} -"
|
||||||
|
];
|
||||||
|
|
||||||
users.users.${nextcloud.name}.extraGroups = ["caddy" "nginx" "postgres"];
|
users.users.${nextcloud.name}.extraGroups = ["caddy" "nginx" "postgres"];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue