diff --git a/hosts/ymir/configuration.nix b/hosts/ymir/configuration.nix index b673045..eec300b 100644 --- a/hosts/ymir/configuration.nix +++ b/hosts/ymir/configuration.nix @@ -161,6 +161,7 @@ crony.auto-cpufreq.enable = true; crony.hyprland-nixos.enable = true; crony.ollama.enable = false; + crony.sunshine.enable = true; # List packages installed in system profile environment.systemPackages = with pkgs; [ diff --git a/modules/linux/home-manager/hyprland.nix b/modules/linux/home-manager/hyprland.nix index f4ccb0c..ffa03d5 100644 --- a/modules/linux/home-manager/hyprland.nix +++ b/modules/linux/home-manager/hyprland.nix @@ -141,6 +141,7 @@ in { monitor = [ "HDMI-A-1, 1920x1080@144, 0x0, 1" "eDP-1, 1920x1080, 0x0, 1" + "sunshine, 1920x1080@144, 0x0, 1" ]; animations = { diff --git a/modules/linux/nixos/sunshine.nix b/modules/linux/nixos/sunshine.nix index e93563f..86b3643 100644 --- a/modules/linux/nixos/sunshine.nix +++ b/modules/linux/nixos/sunshine.nix @@ -11,6 +11,7 @@ config = lib.mkIf config.crony.sunshine.enable { services.sunshine = { enable = true; + package = pkgs.sunshine.override {cudaSupport = true;}; autoStart = false; capSysAdmin = true; openFirewall = true;