From ec5491b58dd555d8615c970c314640328cf730fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Wed, 6 Nov 2024 11:01:54 +0100 Subject: [PATCH] disable power management on the installer --- machine/pc-installer/graphical.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/machine/pc-installer/graphical.nix b/machine/pc-installer/graphical.nix index cc8dbf97..1583bf01 100644 --- a/machine/pc-installer/graphical.nix +++ b/machine/pc-installer/graphical.nix @@ -7,4 +7,16 @@ imports = [ "${nixos-config}/config/graphical.nix" ]; + home-manager.users.darkkirb = { + # Turn off power management settings on AC power + # This is not very useful for an installer + programs.plasma.powerdevil = { + AC = { + autoSuspend.action = "nothing"; + turnOffDisplay.idleTimeout = "never"; + dimDisplay.enable = false; + powerProfile = "performance"; + }; + }; + }; }