School/syncthing: add school things folder

This commit is contained in:
Toast 2024-09-17 09:45:19 +02:00
parent a68714db8d
commit c084034269
3 changed files with 15 additions and 0 deletions

View file

@ -1,5 +1,6 @@
{...}: {
imports = [
./networkmanager.nix
./syncthing.nix
];
}

View file

@ -0,0 +1,8 @@
{...}: {
services.syncthing.settings.folders. "school-things" = {
label = "School things";
id = "btsth-vdu9c";
devices = ["server" "pc" "winmax2" "imac"];
path = "~/Documents/School things";
};
}

View file

@ -26,6 +26,12 @@
devices = ["steamdeck" "server" "pc" "winmax2"];
path = "${config.services.syncthing.dataDir}/pcsx2";
};
"school-things" = {
label = "School things";
id = "btsth-vdu9c";
devices = ["server" "pc" "winmax2" "imac"];
path = "${config.services.syncthing.dataDir}/school-things";
};
};
};
systemd.services.syncthing.serviceConfig = {