feat(modules/de): add sunshine remote streaming server

This commit is contained in:
Mohammad Rafiq 2025-05-12 13:20:41 +08:00
parent 604432fd74
commit b6dde55bad
No known key found for this signature in database
2 changed files with 12 additions and 0 deletions

View file

@ -17,6 +17,7 @@ in
example = "hyprland";
description = "What desktop environment should be installed on the host.";
};
enableSunshine = lib.mkEnableOption "Enable streaming with Sunshine.";
};
};
@ -70,6 +71,16 @@ in
};
})
(lib.mkIf cfg.enableSunshine {
services.sunshine = {
enable = true;
capSysAdmin = true;
autoStart = true;
openFirewall = true;
settings = { };
applications = { };
};
})
]
);
}