1
0
forked from extern/zaneyos

Merge branch 'main' of gitlab.com:Zaney/zaneyos

This commit is contained in:
Tyler Kelley 2024-02-28 16:57:18 -06:00
commit 7599a82b17
3 changed files with 17 additions and 0 deletions

View File

@ -24,6 +24,7 @@
./printer.nix
./services.nix
./steam.nix
./syncthing.nix
./vm.nix
];
}

View File

@ -0,0 +1,13 @@
{ pkgs, config, lib, ... }:
let inherit (import ../../options.nix) syncthing username userHome; in
lib.mkIf (syncthing == true) {
services = {
syncthing = {
enable = true;
user = "${username}";
dataDir = "/home/${username}"; # Default folder for new synced folders
configDir = "/home/${username}/.config/syncthing"; # Folder for Syncthing's settings and keys
};
};
}

View File

@ -82,5 +82,8 @@ in {
# Enable Python & PyCharm
python = false;
# Enable SyncThing
syncthing = true;
}