fixing syncthing

This commit is contained in:
Ingolf Wagner 2022-01-18 20:20:56 +01:00
parent 875620e809
commit dd75b61992
Signed by: palo
GPG key ID: 76BF5F1928B9618B
3 changed files with 20 additions and 14 deletions

View file

@ -61,26 +61,32 @@
};
movies = {
enable = true;
watch = true;
path = "/media/syncthing/movies";
};
music-library = {
enable = true;
watch = true;
path = "/media/syncthing/music";
};
music-projects = {
enable = true;
watch = true;
path = "/media/syncthing/music-projects";
};
nextcloud_backup = {
enable = true;
watch = true;
path = "/media/syncthing/nextcloud_backup";
};
samples = {
enable = true;
watch = true;
path = "/media/syncthing/samples";
};
series = {
enable = true;
watch = true;
path = "/media/syncthing/series";
};

View file

@ -78,8 +78,8 @@ in
find "$ROOT_PATH" -type f -exec chmod "$FILE_MODE" {} +
'';
PrivateTmp = true;
Restart = "always";
RestartSec = 10;
#Restart = "always";
#RestartSec = 10;
UMask = umask;
};
wantedBy = [ "multi-user.target" ];

View file

@ -46,7 +46,7 @@ with lib; {
# -------------------------------
private = {
enable = lib.mkDefault false;
watch = false;
watch = lib.mkDefault false;
devices = [ "pepe" "sterni" ];
versioning = {
type = "simple";
@ -55,12 +55,12 @@ with lib; {
};
desktop = {
enable = lib.mkDefault false;
watch = false;
watch = lib.mkDefault false;
devices = [ "pepe" "sterni" ];
};
finance = {
enable = lib.mkDefault false;
watch = false;
watch = lib.mkDefault false;
devices = [ "pepe" "sterni" ];
versioning = {
type = "simple";
@ -69,7 +69,7 @@ with lib; {
};
fotos = {
enable = lib.mkDefault false;
watch = false;
watch = lib.mkDefault false;
devices = [ "pepe" "sterni" ];
versioning = {
type = "simple";
@ -82,7 +82,7 @@ with lib; {
books = {
enable = lib.mkDefault false;
id = "wwbvs-5lfbh";
watch = false;
watch = lib.mkDefault false;
devices = [ "pepe" "sterni" "robi" ];
versioning = {
type = "simple";
@ -91,7 +91,7 @@ with lib; {
};
lost-fotos = {
enable = lib.mkDefault false;
watch = false;
watch = lib.mkDefault false;
devices = [ "pepe" "robi" ];
versioning = {
type = "simple";
@ -101,7 +101,7 @@ with lib; {
movies = {
enable = lib.mkDefault false;
id = "vatmy-c2qf4";
watch = false;
watch = lib.mkDefault false;
devices = [ "pepe" "robi" ];
versioning = {
type = "simple";
@ -111,7 +111,7 @@ with lib; {
music-library = {
enable = lib.mkDefault false;
id = "gytmq-r2zrx";
watch = false;
watch = lib.mkDefault false;
devices = [ "pepe" "sterni" "robi" ];
versioning = {
type = "simple";
@ -121,7 +121,7 @@ with lib; {
music-projects = {
enable = lib.mkDefault false;
id = "acfhu-r4t4f";
watch = false;
watch = lib.mkDefault false;
devices = [ "pepe" "sterni" "robi" ];
versioning = {
type = "simple";
@ -130,7 +130,7 @@ with lib; {
};
nextcloud_backup = {
enable = lib.mkDefault false;
watch = false;
watch = lib.mkDefault false;
devices = [ "pepe" "robi" ];
versioning = {
type = "simple";
@ -140,13 +140,13 @@ with lib; {
samples = {
enable = lib.mkDefault false;
id = "pcgkj-tjucd";
watch = false;
watch = lib.mkDefault false;
devices = [ "sterni" "pepe" "robi" ];
};
series = {
enable = lib.mkDefault false;
id = "all-series";
watch = false;
watch = lib.mkDefault false;
devices = [ "pepe" "robi" ];
versioning = {
type = "simple";