From 22337330e164b75c19de51af28dd042ad3c39cd6 Mon Sep 17 00:00:00 2001 From: Mohamed Chrayed Date: Sun, 8 Mar 2026 22:02:07 +0100 Subject: [PATCH] add sunshine --- modules/gaming/sys/sunshine.nix | 10 ++++++++++ modules/hosts/computer-mo/computer-mo.nix | 1 + 2 files changed, 11 insertions(+) create mode 100644 modules/gaming/sys/sunshine.nix diff --git a/modules/gaming/sys/sunshine.nix b/modules/gaming/sys/sunshine.nix new file mode 100644 index 0000000..5bac296 --- /dev/null +++ b/modules/gaming/sys/sunshine.nix @@ -0,0 +1,10 @@ +{ ... }: { + flake.nixosModules.gaming-sys-sunshine = { pkgs, ... }: { + services.sunshine = { + enable = true; + autoStart = true; + capSysAdmin = true; + openFirewall = true; + }; + }; +} diff --git a/modules/hosts/computer-mo/computer-mo.nix b/modules/hosts/computer-mo/computer-mo.nix index 2d6aaa9..74d641f 100644 --- a/modules/hosts/computer-mo/computer-mo.nix +++ b/modules/hosts/computer-mo/computer-mo.nix @@ -18,6 +18,7 @@ gaming-sys-nexusmods gaming-sys-osu gaming-sys-steam + gaming-sys-sunshine gnome-sys-gdm gnome-sys-gdm-mo gnome-sys-gnome