Change nextcloud sync target

This commit is contained in:
SebastianStork 2024-10-24 19:16:33 +02:00
parent 46fd92149f
commit 4b0508ee94
2 changed files with 6 additions and 6 deletions

View file

@ -6,12 +6,12 @@
}:
let
paths = [
"Documents"
"Downloads"
"Pictures"
"Music"
"Videos"
"Projects"
"Documents/h_da"
"Documents/vault"
"Pictures/Wallpapers"
"Pictures/Screenshots"
];
excludeList = pkgs.concatText "nextcloud-sync-exclude" [
"${pkgs.nextcloud-client}/etc/Nextcloud/sync-exclude.lst"
@ -23,7 +23,7 @@ let
lib.concatStringsSep " " [
"--user seb"
"--password \"$(cat ${config.sops.secrets."nextcloud-password".path})\""
"--path /Sync/${path}"
"--path /${path}"
"--non-interactive"
"--exclude ${excludeList}"
"~/${path}"