chore: disabe sunshine

This commit is contained in:
Ryan Yin
2026-03-20 20:23:44 +08:00
parent 0c23a823c6
commit 73363d5ca8
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ in
# Zram consumes physical memory for compression, which can cause a deadlock and system hang if the model size approaches the physical memory limit. # Zram consumes physical memory for compression, which can cause a deadlock and system hang if the model size approaches the physical memory limit.
zramSwap.enable = lib.mkForce false; zramSwap.enable = lib.mkForce false;
services.sunshine.enable = lib.mkForce true; services.sunshine.enable = false;
services.tuned.ppdSettings.main.default = lib.mkForce "performance"; services.tuned.ppdSettings.main.default = lib.mkForce "performance";
networking = { networking = {
@@ -1,4 +1,4 @@
{ pkgs, ... }: { lib, pkgs, ... }:
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
moonlight-qt # moonlight client, for streaming games/desktop from a PC moonlight-qt # moonlight client, for streaming games/desktop from a PC
@@ -26,7 +26,7 @@
# #
# =============================================================================== # ===============================================================================
services.sunshine = { services.sunshine = {
enable = false; # default to false, for security reasons. enable = lib.mkDefault false; # default to false, for security reasons.
autoStart = true; autoStart = true;
capSysAdmin = true; # only needed for Wayland -- omit this when using with Xorg capSysAdmin = true; # only needed for Wayland -- omit this when using with Xorg
openFirewall = true; openFirewall = true;