syncthing: fixing books
This commit is contained in:
parent
90377544fa
commit
5907f14e91
4 changed files with 10 additions and 3 deletions
|
@ -9,6 +9,7 @@
|
||||||
music = config.services.syncthing.declarative.folders.music-library.path;
|
music = config.services.syncthing.declarative.folders.music-library.path;
|
||||||
samples = config.services.syncthing.declarative.folders.samples.path;
|
samples = config.services.syncthing.declarative.folders.samples.path;
|
||||||
series = config.services.syncthing.declarative.folders.series.path;
|
series = config.services.syncthing.declarative.folders.series.path;
|
||||||
|
books = config.services.syncthing.declarative.folders.books.path;
|
||||||
};
|
};
|
||||||
private.test = {
|
private.test = {
|
||||||
folder = config.services.syncthing.declarative.folders.porn.path;
|
folder = config.services.syncthing.declarative.folders.porn.path;
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
# no need to be encrypted
|
# no need to be encrypted
|
||||||
# -----------------------
|
# -----------------------
|
||||||
book = {
|
books = {
|
||||||
enable = true;
|
enable = true;
|
||||||
path = "/home/palo/books";
|
path = "/home/palo/books";
|
||||||
};
|
};
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
series = config.services.syncthing.declarative.folders.series.path;
|
series = config.services.syncthing.declarative.folders.series.path;
|
||||||
samples = config.services.syncthing.declarative.folders.samples.path;
|
samples = config.services.syncthing.declarative.folders.samples.path;
|
||||||
music = config.services.syncthing.declarative.folders.music-library.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";
|
path = "/media/syncthing/music-library-free";
|
||||||
rescanInterval = 8 * 3600;
|
rescanInterval = 8 * 3600;
|
||||||
};
|
};
|
||||||
|
books = {
|
||||||
|
enable = true;
|
||||||
|
path = "/media/syncthing/books";
|
||||||
|
rescanInterval = 8 * 3600;
|
||||||
|
};
|
||||||
porn = {
|
porn = {
|
||||||
enable = true;
|
enable = true;
|
||||||
path = "/media/syncthing/porn";
|
path = "/media/syncthing/porn";
|
||||||
|
|
|
@ -109,11 +109,11 @@ with lib; {
|
||||||
|
|
||||||
# no need to be stored on encrypted drives
|
# no need to be stored on encrypted drives
|
||||||
# ----------------------------------------
|
# ----------------------------------------
|
||||||
book = {
|
books = {
|
||||||
enable = lib.mkDefault false;
|
enable = lib.mkDefault false;
|
||||||
id = "wwbvs-5lfbh";
|
id = "wwbvs-5lfbh";
|
||||||
watch = false;
|
watch = false;
|
||||||
devices = [ "workout" "pepe" "sterni" ];
|
devices = [ "workhorse" "pepe" "sterni" ];
|
||||||
versioning = {
|
versioning = {
|
||||||
type = "simple";
|
type = "simple";
|
||||||
params.keep = "10";
|
params.keep = "10";
|
||||||
|
|
Loading…
Reference in a new issue