feat: nextcloud test

This commit is contained in:
Nick 2024-10-18 13:12:14 -05:00
parent d06a294f35
commit 96b32030c6

View file

@ -91,17 +91,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"];