feat: nextcloud test

This commit is contained in:
Nick 2024-10-18 13:00:41 -05:00
parent 6ae0a7efe1
commit fc0122de2d

View file

@ -90,17 +90,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} 770 ${nextcloud.name} ${nextcloud.name} -"
"Z ${nextcloud.sops.path0} 770 ${nextcloud.name} ${nextcloud.name} -"
];
# systemd.tmpfiles.rules = [
# "Z ${nextcloud.paths.path0} 770 ${nextcloud.name} ${nextcloud.name} -"
# "Z ${nextcloud.sops.path0} 770 ${nextcloud.name} ${nextcloud.name} -"
# ];
users.users.${nextcloud.name}.extraGroups = ["caddy" "nginx" "postgres"];