From 85f3722ba5843222475492d539cac074481efbd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 25 Oct 2022 09:18:08 +0200 Subject: [PATCH] feat(nextcloud): sync fysi documents --- configs/cloud.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/cloud.nix b/configs/cloud.nix index 7037298..69d7cd8 100644 --- a/configs/cloud.nix +++ b/configs/cloud.nix @@ -61,7 +61,8 @@ in { }; in '' mkdir -p ${lib.escapeShellArg kieran.target} - ${pkgs.nextcloud-client}/bin/nextcloudcmd --user ${kieran.user} --password ${lib.escapeShellArg kieran.password} --path /Notes ${lib.escapeShellArg kieran.target} ${kieran.endpoint} + ${pkgs.nextcloud-client}/bin/nextcloudcmd --non-interactive --user ${kieran.user} --password ${lib.escapeShellArg kieran.password} --path /Notes ${lib.escapeShellArg kieran.target} ${kieran.endpoint} + ${pkgs.nextcloud-client}/bin/nextcloudcmd --non-interactive --user ${kieran.user} --password ${lib.escapeShellArg kieran.password} --path /kmein ${lib.escapeShellArg "${config.users.users.me.home}/cloud/Seafile/Documents/Akten/FYSI/Lohn"} ${kieran.endpoint} ''; serviceConfig = { Type = "oneshot";