diff --git a/hosts/nihilus/default.nix b/hosts/nihilus/default.nix index bf5cf2b..8ce7ef9 100644 --- a/hosts/nihilus/default.nix +++ b/hosts/nihilus/default.nix @@ -47,7 +47,17 @@ } { name = "movies"; - comment = "backup location for movies shows"; + comment = "backup location for movies and shows"; + mode = "write"; + } + { + name = "books"; + comment = "backup location for books"; + mode = "write"; + } + { + name = "games"; + comment = "backup location for games"; mode = "write"; } ]; diff --git a/options/fixes/rsyncd.nix b/options/fixes/rsyncd.nix index 902f67d..afc0d19 100644 --- a/options/fixes/rsyncd.nix +++ b/options/fixes/rsyncd.nix @@ -82,7 +82,8 @@ in serviceConfig = serviceConfigSecurity // { ExecStart = "${pkgs.rsync}/bin/rsync --daemon --no-detach --config=${configFile}"; - RestartSec = 1; + RestartSec = 15; + Restart = "always"; }; wantedBy = [ "multi-user.target" ];