diff --git a/nixos/machines/pepe/syncthing.nix b/nixos/machines/pepe/syncthing.nix index 5ee2a74..4e13330 100644 --- a/nixos/machines/pepe/syncthing.nix +++ b/nixos/machines/pepe/syncthing.nix @@ -5,7 +5,8 @@ custom.samba-share = { enable = true; folders = { - media = config.services.syncthing.folders.media.path; + #media = config.services.syncthing.folders.media.path; + media = "/media/syncthing/media"; }; private.upload = { folder = "/media/upload"; diff --git a/nixos/machines/robi/nextcloud.nix b/nixos/machines/robi/nextcloud.nix index 3338a39..64666c8 100644 --- a/nixos/machines/robi/nextcloud.nix +++ b/nixos/machines/robi/nextcloud.nix @@ -139,8 +139,10 @@ in isReadOnly = false; }; media = { - mountPoint = toString config.services.syncthing.folders.media.path; - hostPath = toString config.services.syncthing.folders.media.path; + #mountPoint = toString config.services.syncthing.folders.media.path; + #hostPath = toString config.services.syncthing.folders.media.path; + mountPoint = "/media/syncthing/media"; + hostPath = "/media/syncthing/media"; isReadOnly = true; }; };