This commit is contained in:
2025-10-23 19:30:03 -05:00
parent 24ac2aca51
commit f4b505d1d1
2 changed files with 40 additions and 18 deletions

View File

@@ -0,0 +1,22 @@
{ pkgs, config, lib, ... }:
let
service = "syncthing";
cfg = config.holocron.${service};
in
{
options.system.syncthing = {
enable = lib.mkEnableOption "enables syncthing";
};
config = lib.mkIf cfg.enable {
services.syncthing = {
enable = true;
# user = "blake";
# group = "blake";
# dataDir = "/var/lib/syncthing";
guiAddress = "0.0.0.0:2222";
# openDefaultPorts = true;
};
};
}