From 96b32030c62f851f70335380798aaf07e4e7d3b4 Mon Sep 17 00:00:00 2001 From: Nick Date: Fri, 18 Oct 2024 13:12:14 -0500 Subject: [PATCH] feat: nextcloud test --- nixos/modules/services/nextcloud.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/nixos/modules/services/nextcloud.nix b/nixos/modules/services/nextcloud.nix index 4214517..354330d 100755 --- a/nixos/modules/services/nextcloud.nix +++ b/nixos/modules/services/nextcloud.nix @@ -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"];