blob: dff4d97b1c9c54d89b09f071dd73c2bf726d9b7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ pkgs, ... }: {
#environment.systemPackages = with pkgs; [ sunshine ];
services.sunshine = {
enable = true;
capSysAdmin = true;
settings = {
sunshine_name = "Iroha";
};
applications = {
env = {
PATH = "$(PATH)";
};
apps = [
{
name = "Steam Gamescope";
cmd = "gamescope -w 960 -W 960 -h 544 -H 544 -r 60 -O DP-1 -e -- steam steam://open/bigpicture";
}
];
};
};
#security.wrappers = {
# sunshine = {
# owner = "root";
# group = "root";
# source = "${pkgs.sunshine}/bin/sunshine";
# capabilities = "cap_sys_admin+p";
# };
#};
}
|