Added syncthing
This commit is contained in:
@@ -43,6 +43,32 @@ in
|
|||||||
useRoutingFeatures = "server";
|
useRoutingFeatures = "server";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.syncthing = {
|
||||||
|
enable = true;
|
||||||
|
user = "ulve";
|
||||||
|
dataDir = "/home/ulve";
|
||||||
|
configDir = "/home/ulve/.config/syncthing";
|
||||||
|
openDefaultPorts = true;
|
||||||
|
settings.devices."macbook" = {
|
||||||
|
id = "U4YVRUT-JAAXHQ4-TA6FAGH-SO6Z7CI-KDFPRNG-UZYNXDK-6OQY7ZA-UBTZRQW";
|
||||||
|
};
|
||||||
|
settings.devices."phone" = {
|
||||||
|
id = "WXTP2PT-GW3C3EJ-JYYYXUT-VEKCAQV-NQTPQLI-TOMDAI3-CSUUHF5-6DH72AM";
|
||||||
|
};
|
||||||
|
settings.folders."Downloads" = {
|
||||||
|
path = "/home/ulve/Downloads";
|
||||||
|
devices = [ "macbook" ];
|
||||||
|
};
|
||||||
|
settings.folders."yrw8u-ut036" = {
|
||||||
|
path = "/home/ulve/Phone";
|
||||||
|
devices = [ "phone" ];
|
||||||
|
};
|
||||||
|
settings.folders."xdnt7-iaqtd" = {
|
||||||
|
path = "/home/ulve/Vaults";
|
||||||
|
devices = [ "macbook" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.immich = {
|
services.immich = {
|
||||||
enable = true;
|
enable = true;
|
||||||
mediaLocation = "/media/immich";
|
mediaLocation = "/media/immich";
|
||||||
|
|||||||
Reference in New Issue
Block a user