add sunshine

This commit is contained in:
2025-08-12 19:32:38 -05:00
parent 8e6224efd2
commit 6ca6bc4106
4 changed files with 119 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
{ config, lib, pkgs, ... }: {
options.sysconfig.opts.sunshine.enable = lib.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.sysconfig.opts.sunshine.enable {
services.sunshine = {
enable = true;
autoStart = true;
openFirewall = true;
};
};
}