mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Change nextcloud sync target
This commit is contained in:
parent
46fd92149f
commit
4b0508ee94
2 changed files with 6 additions and 6 deletions
|
|
@ -6,12 +6,12 @@
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
paths = [
|
paths = [
|
||||||
"Documents"
|
|
||||||
"Downloads"
|
"Downloads"
|
||||||
"Pictures"
|
|
||||||
"Music"
|
|
||||||
"Videos"
|
|
||||||
"Projects"
|
"Projects"
|
||||||
|
"Documents/h_da"
|
||||||
|
"Documents/vault"
|
||||||
|
"Pictures/Wallpapers"
|
||||||
|
"Pictures/Screenshots"
|
||||||
];
|
];
|
||||||
excludeList = pkgs.concatText "nextcloud-sync-exclude" [
|
excludeList = pkgs.concatText "nextcloud-sync-exclude" [
|
||||||
"${pkgs.nextcloud-client}/etc/Nextcloud/sync-exclude.lst"
|
"${pkgs.nextcloud-client}/etc/Nextcloud/sync-exclude.lst"
|
||||||
|
|
@ -23,7 +23,7 @@ let
|
||||||
lib.concatStringsSep " " [
|
lib.concatStringsSep " " [
|
||||||
"--user seb"
|
"--user seb"
|
||||||
"--password \"$(cat ${config.sops.secrets."nextcloud-password".path})\""
|
"--password \"$(cat ${config.sops.secrets."nextcloud-password".path})\""
|
||||||
"--path /Sync/${path}"
|
"--path /${path}"
|
||||||
"--non-interactive"
|
"--non-interactive"
|
||||||
"--exclude ${excludeList}"
|
"--exclude ${excludeList}"
|
||||||
"~/${path}"
|
"~/${path}"
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
.direnv
|
.direnv/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue