From f6c298b008378c276fed55329855d70f4ef5c922 Mon Sep 17 00:00:00 2001 From: muon Date: Sun, 12 Jan 2025 17:36:15 +0000 Subject: [PATCH] Turn off screen saver muop --- hosts/muop/configuration.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/muop/configuration.nix b/hosts/muop/configuration.nix index 4337098..8a21dd5 100644 --- a/hosts/muop/configuration.nix +++ b/hosts/muop/configuration.nix @@ -43,7 +43,6 @@ in { mods.unfree.minecraft.enable = false; # Hardware preferences - boot = { tmp.cleanOnBoot = true; bootspec.enable = true; @@ -61,6 +60,11 @@ in { }; }; + # Turn off screen-saver + environment.extraInit = '' + xset s off -dpms + ''; + environment.variables = { WINIT_HIDPI_FACTOR = "1"; WINIT_X11_SCALE_FACTOR = "1";