remove path to syncthing

This commit is contained in:
Yan Lin 2025-11-29 20:17:20 +01:00
parent b76f4670cb
commit 41ba8dbdb5

View file

@ -106,14 +106,6 @@ in
versioning = commonVersioning; versioning = commonVersioning;
}; };
}) })
// (lib.optionalAttrs (lib.elem "NSFW" cfg.enabledFolders) {
"NSFW" = {
path = "~/NSFW";
devices = nixosDevices;
ignorePerms = true;
versioning = commonVersioning;
};
});
# GUI settings with authentication # GUI settings with authentication
gui = { gui = {
@ -148,9 +140,6 @@ in
(lib.mkIf (lib.elem "Archive" cfg.enabledFolders) { (lib.mkIf (lib.elem "Archive" cfg.enabledFolders) {
"Archive/.stignore".text = stignoreContent; "Archive/.stignore".text = stignoreContent;
}) })
(lib.mkIf (lib.elem "NSFW" cfg.enabledFolders) {
"NSFW/.stignore".text = stignoreContent;
})
]; ];
# For NixOS systems, we need to add Syncthing as a manual service in Traefik # For NixOS systems, we need to add Syncthing as a manual service in Traefik