16 lines
291 B
Nix
16 lines
291 B
Nix
{
|
|
...
|
|
}:
|
|
|
|
{
|
|
services.sunshine = {
|
|
enable = true;
|
|
autoStart = true;
|
|
capSysAdmin = true; # only needed for Wayland -- omit this when using with Xorg
|
|
openFirewall = true;
|
|
};
|
|
users.users.imnyang = {
|
|
extraGroups = [ "uinput" ];
|
|
};
|
|
hardware.uinput.enable = true;
|
|
}
|