2019-10-24 02:20:38 +02:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
|
|
|
2019-10-29 21:02:40 +01:00
|
|
|
test.services.syncthing = {
|
2019-10-24 02:20:38 +02:00
|
|
|
enable = true;
|
|
|
|
openDefaultPorts = false;
|
|
|
|
user = "palo";
|
|
|
|
dataDir = "/home/palo/.syncthing";
|
|
|
|
configDir = "/home/palo/.syncthing";
|
|
|
|
declarative = {
|
|
|
|
cert = toString <secrets/syncthing/cert.pem>;
|
|
|
|
key = toString <secrets/syncthing/key.pem>;
|
|
|
|
|
|
|
|
overrideFolders = true;
|
|
|
|
folders = {
|
|
|
|
|
2019-10-25 03:03:25 +02:00
|
|
|
# on encrypted drive
|
|
|
|
# ------------------
|
2019-10-26 13:44:27 +02:00
|
|
|
desktop = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/desktop";
|
|
|
|
};
|
|
|
|
finance = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/finance";
|
2019-10-29 21:02:40 +01:00
|
|
|
versioning = {
|
2019-11-07 13:42:23 +01:00
|
|
|
type = "simple";
|
|
|
|
params.keep = "10";
|
2019-10-29 21:02:40 +01:00
|
|
|
};
|
2019-10-26 13:44:27 +02:00
|
|
|
};
|
|
|
|
lost-fotos = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/.lost-fotos.ct";
|
|
|
|
};
|
2019-11-07 13:42:23 +01:00
|
|
|
fotos = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/fotos";
|
|
|
|
};
|
2019-10-25 03:03:25 +02:00
|
|
|
|
|
|
|
# no need to be encrypted
|
|
|
|
# -----------------------
|
2019-10-26 13:44:27 +02:00
|
|
|
book = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/books";
|
|
|
|
};
|
|
|
|
music-library-free = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/music-library-free";
|
|
|
|
};
|
|
|
|
music-library = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/music-library";
|
|
|
|
};
|
|
|
|
music-projects = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/music-projects";
|
|
|
|
};
|
|
|
|
porani-workout = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/workout-porani";
|
|
|
|
};
|
|
|
|
samples = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/samples";
|
|
|
|
};
|
|
|
|
smartphone-fotos = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/smartphone-fotos";
|
|
|
|
};
|
|
|
|
video-material = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/video-material";
|
|
|
|
};
|
|
|
|
workout-pepe = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/workout-pepe";
|
|
|
|
};
|
|
|
|
windows-sync = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/windows-sync";
|
|
|
|
};
|
2019-10-24 02:20:38 +02:00
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|