about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-02-03 19:05:35 +0900
committersefidel <contact@sefidel.net>2024-02-03 19:05:35 +0900
commitd4bd1f07275394265c0fcc2903630ca1ef0e8a1a (patch)
treee3e379d2a3aec8dfa5de395899b42cfd72575dd1
parentc5519703534567ef84617a58c1b8a622bedd83f3 (diff)
downloadnixrc-d4bd1f07275394265c0fcc2903630ca1ef0e8a1a.tar.gz
nixrc-d4bd1f07275394265c0fcc2903630ca1ef0e8a1a.zip
feat(modules/nextcloud)!: remove postgres persist settings
* Users are advised to enable the postgres module to avoid losing any
  data.
-rw-r--r--modules/services/nextcloud.nix6
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/services/nextcloud.nix b/modules/services/nextcloud.nix
index 909fb30..164906e 100644
--- a/modules/services/nextcloud.nix
+++ b/modules/services/nextcloud.nix
@@ -110,12 +110,6 @@ in
       useACMEHost = cfg.ssl.acmeHost;
     };
 
-    services.postgresqlBackup.enable = true;
-    environment.persistence."/persist".directories = [
-      "/var/lib/postgresql"
-      "/var/backup/postgresql"
-    ];
-
     systemd.services.nextcloud-cron = {
       path = with pkgs; [ perl ];
       # preStart = "${pkgs.coreutils}/bin/chmod +x ${config.services.nextcloud.home}/store-apps/memories/bin-ext/*";