feat: nextcloud test

This commit is contained in:
Nick 2024-10-18 12:19:42 -05:00
parent f7e4d19725
commit 8ff022e139

View file

@ -103,17 +103,17 @@ in {
);
};
fileSystems."/var/lib/${nextcloud.name}" = {
device = nextcloud.paths.path0;
fsType = "none";
options = ["bind"];
depends = [server.storage0.mount];
};
# fileSystems."/var/lib/${nextcloud.name}" = {
# device = nextcloud.paths.path0;
# fsType = "none";
# options = ["bind"];
# depends = [server.storage0.mount];
# };
systemd.tmpfiles.rules = [
"Z ${nextcloud.paths.path0} 750 ${nextcloud.name} ${nextcloud.name} -"
# "Z ${nextcloud.sops.path0} 750 ${nextcloud.name} ${nextcloud.name} -"
];
# systemd.tmpfiles.rules = [
# "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"];