From f4e556cc248154c2061fe74a339ed4e5668461b4 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Mon, 10 Apr 2023 23:14:13 +0200 Subject: [PATCH] fixing syncthing --- nixos/machines/pepe/syncthing.nix | 3 ++- nixos/machines/robi/nextcloud.nix | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) 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; }; };