syncthing: fixing books

This commit is contained in:
Ingolf Wagner 2021-02-18 04:22:30 +01:00
parent 90377544fa
commit 5907f14e91
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
4 changed files with 10 additions and 3 deletions

View file

@ -9,6 +9,7 @@
music = config.services.syncthing.declarative.folders.music-library.path;
samples = config.services.syncthing.declarative.folders.samples.path;
series = config.services.syncthing.declarative.folders.series.path;
books = config.services.syncthing.declarative.folders.books.path;
};
private.test = {
folder = config.services.syncthing.declarative.folders.porn.path;

View file

@ -45,7 +45,7 @@
# no need to be encrypted
# -----------------------
book = {
books = {
enable = true;
path = "/home/palo/books";
};

View file

@ -7,6 +7,7 @@
series = config.services.syncthing.declarative.folders.series.path;
samples = config.services.syncthing.declarative.folders.samples.path;
music = config.services.syncthing.declarative.folders.music-library.path;
books = config.services.syncthing.declarative.folders.books.path;
};
};
@ -64,6 +65,11 @@
path = "/media/syncthing/music-library-free";
rescanInterval = 8 * 3600;
};
books = {
enable = true;
path = "/media/syncthing/books";
rescanInterval = 8 * 3600;
};
porn = {
enable = true;
path = "/media/syncthing/porn";

View file

@ -109,11 +109,11 @@ with lib; {
# no need to be stored on encrypted drives
# ----------------------------------------
book = {
books = {
enable = lib.mkDefault false;
id = "wwbvs-5lfbh";
watch = false;
devices = [ "workout" "pepe" "sterni" ];
devices = [ "workhorse" "pepe" "sterni" ];
versioning = {
type = "simple";
params.keep = "10";