fix(sunshine): amend porting
This commit is contained in:
parent
2b15a62f54
commit
91902fa4df
1 changed files with 0 additions and 14 deletions
|
@ -50,26 +50,12 @@
|
||||||
environment.systemPackages = [ pkgs.android-tools ];
|
environment.systemPackages = [ pkgs.android-tools ];
|
||||||
})
|
})
|
||||||
(lib.mkIf config.desktop.enableSunshine {
|
(lib.mkIf config.desktop.enableSunshine {
|
||||||
networking.firewall.allowedTCPPortRanges = [
|
|
||||||
{
|
|
||||||
from = 47984;
|
|
||||||
to = 47990;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
networking.firewall.allowedUDPPortRanges = [
|
|
||||||
{
|
|
||||||
from = 47998;
|
|
||||||
to = 48000;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
networking.firewall.allowedTCPPorts = [ 48010 ];
|
|
||||||
services.sunshine = {
|
services.sunshine = {
|
||||||
enable = true;
|
enable = true;
|
||||||
capSysAdmin = true;
|
capSysAdmin = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
settings = {
|
settings = {
|
||||||
sunshine_name = config.system.hostname;
|
sunshine_name = config.system.hostname;
|
||||||
port = 48989; # default
|
|
||||||
origin_web_ui_allowed = "wan";
|
origin_web_ui_allowed = "wan";
|
||||||
};
|
};
|
||||||
applications = { };
|
applications = { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue