Make sunshine part of the gaming module
This commit is contained in:
parent
e98f52df85
commit
3a00c22480
2 changed files with 10 additions and 8 deletions
|
|
@ -1,4 +1,5 @@
|
|||
{...}: {
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./disks.nix
|
||||
../../modules/desktop/hyprland.nix
|
||||
|
|
@ -19,13 +20,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
# It is an open-source implementation of Nvidia’s Moonlight game streaming application
|
||||
services.sunshine = {
|
||||
enable = true;
|
||||
autoStart = true;
|
||||
capSysAdmin = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
services.sunshine.autoStart = true;
|
||||
|
||||
home-manager.users.pedro.wayland.windowManager.hyprland.settings = {
|
||||
monitor = [
|
||||
|
|
|
|||
|
|
@ -11,4 +11,11 @@
|
|||
programs.gamemode.enable = true;
|
||||
|
||||
services.joycond.enable = true;
|
||||
|
||||
services.sunshine = {
|
||||
enable = true;
|
||||
autoStart = lib.mkDefault false;
|
||||
capSysAdmin = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue