From c554e3cca974c704bec52d58d8a70066746762e9 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 1 Mar 2024 09:17:18 -0500 Subject: [PATCH] moved syncthing to home-manager --- home/aly/default.nix | 3 +++ network/default.nix | 16 ++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/home/aly/default.nix b/home/aly/default.nix index fcb3b2a1..347b6d0f 100644 --- a/home/aly/default.nix +++ b/home/aly/default.nix @@ -5,6 +5,8 @@ home.username = "aly"; home.homeDirectory = "/home/aly"; + services.syncthing.enable = true; + # Packages that should be installed to the user profile. home.packages = with pkgs; [ vscode @@ -15,6 +17,7 @@ git nnn # terminal file manager wget + syncthing ]; # basic configuration of git, please change to your own diff --git a/network/default.nix b/network/default.nix index a60247d9..0aaf5b85 100644 --- a/network/default.nix +++ b/network/default.nix @@ -38,13 +38,13 @@ # started in user sessions. # programs.mtr.enable = true; # Set up syncthing to run as aly. - services = { - syncthing = { - enable = true; - user = "aly"; - dataDir = "/home/aly"; # Default folder for new synced folders - configDir = "/home/aly/.config/syncthing"; # Folder for Syncthing's settings and keys - }; - }; + # services = { + # syncthing = { + # enable = true; + # user = "aly"; + # dataDir = "/home/aly"; # Default folder for new synced folders + # configDir = "/home/aly/.config/syncthing"; # Folder for Syncthing's settings and keys + # }; + # }; }