mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-13 08:02:40 +02:00
chore: disabe sunshine
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user