2019-12-20 05:54:26 +01:00
|
|
|
{ config, pkgs, lib, ... }: {
|
2019-10-24 02:20:38 +02:00
|
|
|
|
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-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";
|
|
|
|
};
|
|
|
|
kruck-pepe = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/pepe-kruck";
|
|
|
|
};
|
|
|
|
music-library = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/music-library";
|
|
|
|
};
|
|
|
|
music-projects = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/music-projects";
|
|
|
|
};
|
|
|
|
porani-pepe = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/pepe-porani";
|
|
|
|
};
|
|
|
|
schasch-pepe = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/pepe-schasch";
|
|
|
|
};
|
|
|
|
smartphone-fotos = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/smartphone-fotos";
|
|
|
|
};
|
|
|
|
workout-pepe = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/pepe-workout";
|
|
|
|
};
|
2019-10-24 02:20:38 +02:00
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|