From 1f71b665527a0fef1b41624cebb21aff997f854e Mon Sep 17 00:00:00 2001 From: Julian T Date: Mon, 3 Oct 2022 15:42:05 +0200 Subject: Add syncthing --- desktop.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'desktop.nix') diff --git a/desktop.nix b/desktop.nix index 8be4255..7b3ab48 100644 --- a/desktop.nix +++ b/desktop.nix @@ -24,6 +24,15 @@ sound.enable = true; services = { + syncthing = rec { + enable = true; + user = "julian"; + overrideDevices = true; + overrideFolders = true; + dataDir = "/home/${user}/"; + configDir = "/home/${user}/.config/syncthing"; + }; + xserver = { enable = true; layout = "us"; -- cgit v1.2.3