Files
nextcloud-niri/config.example.sexp

42 lines
1.0 KiB
Common Lisp

;; nextcloud-niri configuration (~/.config/nextcloud-niri/config.sexp)
;;
;; Run `nextcloud-niri login https://your-nextcloud.example.com` to authenticate
;; via Nextcloud Login Flow v2, and `nextcloud-niri add <local> <remote>` to add
;; synced folder pairs.
(:server
(:url "https://cloud.example.com"
:username "your-username"
;; Optional command whose stdout provides the app password, e.g.:
;; "pass show nextcloud"
;; "secret-tool lookup service nextcloud"
;; When nil, credentials are read from ~/.config/nextcloud-niri/credentials.sexp
:password-cmd nil
:verify-ssl t)
:sync
(:poll-interval 30
:debounce-seconds 2.0
:chunk-size-mb 10
:create-remote-if-missing t
:notify-on-error t
:ignore (".git"
".DS_Store"
"Thumbs.db"
"*.tmp"
"*.part"
"*.swp"
"*.swo"
"*~"
".~lock.*"
"#*#"))
:waybar
(:signal 7
:label "nc")
:folders
((:name "Notes"
:local "~/Documents/Notes"
:remote "Documents/Notes")))