2022-09-23 20:29:18 +02:00
|
|
|
{ config, pkgs, lib, ... }: {
|
|
|
|
|
|
|
|
services.syncthing = {
|
|
|
|
enable = true;
|
|
|
|
openDefaultPorts = false;
|
|
|
|
user = "palo";
|
|
|
|
dataDir = "/home/palo/.syncthing";
|
|
|
|
configDir = "/home/palo/.syncthing";
|
|
|
|
overrideFolders = true;
|
|
|
|
folders = {
|
|
|
|
|
|
|
|
# on encrypted drive
|
|
|
|
# ------------------
|
|
|
|
private = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/private";
|
|
|
|
};
|
|
|
|
desktop = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/desktop";
|
|
|
|
};
|
|
|
|
finance = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/finance";
|
|
|
|
};
|
|
|
|
password-store = {
|
|
|
|
enable = true;
|
|
|
|
path = "/home/palo/.password-store";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-12-18 17:29:16 +01:00
|
|
|
services.permown."/home/palo/music-library" = {
|
2022-09-23 20:29:18 +02:00
|
|
|
owner = "palo";
|
|
|
|
group = "users";
|
|
|
|
};
|
|
|
|
}
|