Make sunshine part of the gaming module
Some checks are pending
Flake check / check (push) Waiting to run
Update `flake.lock` / update_lockfile (push) Waiting to run

This commit is contained in:
Pedro Rey Anca 2025-11-29 16:28:07 +01:00
parent e98f52df85
commit 3a00c22480
Signed by: peprolinbot
GPG key ID: 053EA6E00116533A
2 changed files with 10 additions and 8 deletions

View file

@ -1,4 +1,5 @@
{...}: {
{ ... }:
{
imports = [
./disks.nix
../../modules/desktop/hyprland.nix
@ -19,13 +20,7 @@
};
};
# It is an open-source implementation of Nvidias 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 = [

View file

@ -11,4 +11,11 @@
programs.gamemode.enable = true;
services.joycond.enable = true;
services.sunshine = {
enable = true;
autoStart = lib.mkDefault false;
capSysAdmin = true;
openFirewall = true;
};
}