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
65d2e9bb66
commit
f7e4d19725
1 changed files with 18 additions and 18 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 = "admin";
|
||||||
dbtype = "pgsql";
|
dbtype = "pgsql";
|
||||||
};
|
};
|
||||||
database = {
|
database = {
|
||||||
|
@ -103,17 +103,17 @@ in {
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
# fileSystems."/var/lib/${nextcloud.name}" = {
|
fileSystems."/var/lib/${nextcloud.name}" = {
|
||||||
# device = nextcloud.paths.path0;
|
device = nextcloud.paths.path0;
|
||||||
# fsType = "none";
|
fsType = "none";
|
||||||
# options = ["bind"];
|
options = ["bind"];
|
||||||
# depends = [server.storage0.mount];
|
depends = [server.storage0.mount];
|
||||||
# };
|
};
|
||||||
|
|
||||||
# systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
# "Z ${nextcloud.paths.path0} 750 ${nextcloud.name} ${nextcloud.name} -"
|
"Z ${nextcloud.paths.path0} 750 ${nextcloud.name} ${nextcloud.name} -"
|
||||||
# "Z ${nextcloud.sops.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