adding sunshine

This commit is contained in:
2026-03-13 23:53:24 -07:00
parent ca4b147971
commit 05796f7d92
2 changed files with 15 additions and 1 deletions
+14
View File
@@ -80,6 +80,20 @@
variant = "";
};
services.sunshine = {
enable = true;
autoStart = true;
capSysAdmin = true; # Required for KMS screen capture (especially on Wayland)
openFirewall = true; # Automatically opens required ports for Moonlight
};
# Enable Avahi so Moonlight automatically discovers your PC on the network
services.avahi = {
enable = true;
publish.enable = true;
publish.userServices = true;
};
# Enable CUPS to print documents.
services.printing.enable = false;
+1 -1
View File
@@ -14,7 +14,7 @@
boot.initrd.availableKernelModules = ["virtio_pci" "virtio_scsi" "ahci" "sd_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = [];
boot.kernelModules = [uinput];
boot.extraModulePackages = [];
fileSystems."/" = {