feat: nextcloud test

This commit is contained in:
Nick 2024-10-18 13:24:22 -05:00
parent 92f2ea48bd
commit 28971a5cde

View file

@ -90,17 +90,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" "rw"]; # 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"];