feat(desktop): install sunshine, fix cuda.

This commit is contained in:
CronyAkatsuki 2025-08-31 12:58:24 +02:00
parent 670119ae64
commit 8288e6da83
3 changed files with 3 additions and 0 deletions

View file

@ -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; [

View file

@ -141,6 +141,7 @@ in {
monitor = [
"HDMI-A-1, 1920x1080@144, 0x0, 1"
"eDP-1, 1920x1080, 0x0, 1"
"sunshine, 1920x1080@144, 0x0, 1"
];
animations = {

View file

@ -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;