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";
|
|
|
|
};
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
samples = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/samples";
|
|
|
|
};
|
|
|
|
video-material = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/video-material";
|
|
|
|
};
|
|
|
|
windows-sync = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/windows-sync";
|
|
|
|
};
|
2020-03-14 19:29:50 +01:00
|
|
|
smartphone-folder = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/smartphone-folder";
|
|
|
|
};
|
2020-04-08 00:24:38 +02:00
|
|
|
zettlr = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/zettlr";
|
|
|
|
};
|
2019-10-24 02:20:38 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|