nixcfg/homeManagerModules/userServices/syncthing/default.nix

16 lines
253 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
pkgs,
lib,
config,
...
}: {
2024-03-28 19:52:15 -04:00
options = {
userServices.syncthing.enable =
lib.mkEnableOption "Enables syncthing as user.";
};
config = lib.mkIf config.userServices.syncthing.enable {
services.syncthing.enable = true;
};
}