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 = [
|
imports = [
|
||||||
./disks.nix
|
./disks.nix
|
||||||
../../modules/desktop/hyprland.nix
|
../../modules/desktop/hyprland.nix
|
||||||
|
|
@ -19,13 +20,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# It is an open-source implementation of Nvidia’s Moonlight game streaming application
|
services.sunshine.autoStart = true;
|
||||||
services.sunshine = {
|
|
||||||
enable = true;
|
|
||||||
autoStart = true;
|
|
||||||
capSysAdmin = true;
|
|
||||||
openFirewall = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
home-manager.users.pedro.wayland.windowManager.hyprland.settings = {
|
home-manager.users.pedro.wayland.windowManager.hyprland.settings = {
|
||||||
monitor = [
|
monitor = [
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,11 @@
|
||||||
programs.gamemode.enable = true;
|
programs.gamemode.enable = true;
|
||||||
|
|
||||||
services.joycond.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