From bd70d0a6039b8d7c2536b84fd85780875f2365a9 Mon Sep 17 00:00:00 2001 From: eyjhb Date: Thu, 22 Aug 2024 18:52:13 +0200 Subject: [PATCH] gerd.nextcloud: do not run nextcloud-setup on each rebuild --- machines/gerd/services/nextcloud.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/machines/gerd/services/nextcloud.nix b/machines/gerd/services/nextcloud.nix index 565e3e7..94fa767 100644 --- a/machines/gerd/services/nextcloud.nix +++ b/machines/gerd/services/nextcloud.nix @@ -188,6 +188,9 @@ in { "lldap-bind-user-pass:${config.age.secrets.lldap-bind-user-pass.path}" "nextcloud-admin-pass:${config.age.secrets.nextcloud-admin-pass.path}" ]; + + # do not run on each nixos rebuild switch!!!!!!!!!!! + serviceConfig.RemainAfterExit = true; }; # ensure that nextcloud can access stateDir