This commit is contained in:
Danilo Reyes
2025-11-11 11:37:51 -06:00
parent d21594cfcd
commit 0923a38997
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
{
lib,
config,
...
}:
let
setup = import ../factories/mkserver.nix { inherit lib config; };
cfg = config.my.servers.syncplay;
in
{
options.my.servers.syncplay = setup.mkOptions "sync" "indexer" 8999;
config = lib.mkIf cfg.enable {
services.syncplay = {
inherit (cfg) enable port;
};
};
}