diff --git a/hosts/nixos/hs/home.nix b/hosts/nixos/hs/home.nix index 516d9c3..20c4c18 100644 --- a/hosts/nixos/hs/home.nix +++ b/hosts/nixos/hs/home.nix @@ -12,7 +12,7 @@ # hs-specific home configuration syncthing-custom = { - enabledFolders = [ "Credentials" "Documents" "Obsidian" "Archive" "NSFW" ]; + enabledFolders = [ "Credentials" "Documents" "Archive" "NSFW" ]; }; # yt-dlp configuration - store videos on large storage diff --git a/hosts/nixos/thinkpad/home.nix b/hosts/nixos/thinkpad/home.nix index aad0b87..a5b7e52 100644 --- a/hosts/nixos/thinkpad/home.nix +++ b/hosts/nixos/thinkpad/home.nix @@ -18,7 +18,7 @@ ]; syncthing-custom = { - enabledFolders = [ "Credentials" "Documents" "Obsidian" "Archive" "NSFW" ]; + enabledFolders = [ "Credentials" "Documents" "Archive" "NSFW" ]; }; services.scheduled-commands.aicloud-backup = { diff --git a/modules/syncthing.nix b/modules/syncthing.nix index 8acbd78..705f66e 100644 --- a/modules/syncthing.nix +++ b/modules/syncthing.nix @@ -41,7 +41,7 @@ in options.syncthing-custom = { enabledFolders = lib.mkOption { type = lib.types.listOf lib.types.str; - default = [ "Credentials" "Documents" "Obsidian" "Archive" ]; + default = [ "Credentials" "Documents" "Archive" ]; description = "List of Syncthing folders to enable for this host."; }; }; @@ -98,14 +98,6 @@ in versioning = commonVersioning; }; }) - // (lib.optionalAttrs (lib.elem "Obsidian" cfg.enabledFolders) { - "Obsidian" = { - path = "~/Obsidian"; - devices = pcDevices; - ignorePerms = true; - versioning = commonVersioning; - }; - }) // (lib.optionalAttrs (lib.elem "Archive" cfg.enabledFolders) { "Archive" = { path = "~/Archive"; @@ -153,9 +145,6 @@ in (lib.mkIf (lib.elem "Documents" cfg.enabledFolders) { "Documents/.stignore".text = stignoreContent; }) - (lib.mkIf (lib.elem "Obsidian" cfg.enabledFolders) { - "Obsidian/.stignore".text = stignoreContent; - }) (lib.mkIf (lib.elem "Archive" cfg.enabledFolders) { "Archive/.stignore".text = stignoreContent; })