feat(modules/de): add sunshine remote streaming server
This commit is contained in:
parent
604432fd74
commit
b6dde55bad
2 changed files with 12 additions and 0 deletions
|
@ -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 = { };
|
||||
};
|
||||
})
|
||||
]
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue