From d4a27e3a28c555ce0db9c180623d9f708be631c9 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 22 Oct 2022 10:00:59 +0200 Subject: ma rss: no need to look for sofa anymore --- makefu/1systems/gum/config.nix | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/makefu/1systems/gum/config.nix b/makefu/1systems/gum/config.nix index ff0c18795..26bfd0731 100644 --- a/makefu/1systems/gum/config.nix +++ b/makefu/1systems/gum/config.nix @@ -99,6 +99,7 @@ in { # services + # postgres backend # # { krebs.exim.enable = mkDefault true; } @@ -144,14 +145,18 @@ in { users.users.nextcloud.extraGroups = [ "download" ]; # nextcloud-setup fails as it cannot set permissions for nextcloud systemd.services.nextcloud-setup.serviceConfig.SuccessExitStatus = "0 1"; - fileSystems."/var/lib/nextcloud/data" = { - device = "/media/cloud/nextcloud-data"; - options = [ "bind" ]; - }; - fileSystems."/var/backup" = { - device = "/media/cloud/gum-backup"; - options = [ "bind" ]; - }; + systemd.tmpfiles.rules = [ + "L /var/lib/nextcloud/data - - - - /media/cloud/nextcloud-data" + "L /var/backup - - - - /media/cloud/gum-backup" + ]; + #fileSystems."/var/lib/nextcloud/data" = { + # device = "/media/cloud/nextcloud-data"; + # options = [ "bind" ]; + #}; + #fileSystems."/var/backup" = { + # device = "/media/cloud/gum-backup"; + # options = [ "bind" ]; + #}; } @@ -159,6 +164,7 @@ in { + ## # # -- cgit v1.2.3