From f9e62410b7c721a11c80f27b2b2b460202e0112b Mon Sep 17 00:00:00 2001 From: Linnnus Date: Sat, 16 Sep 2023 16:26:22 +0200 Subject: Disable ahmed's screen --- hosts/ahmed/configuration.nix | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'hosts/ahmed/configuration.nix') diff --git a/hosts/ahmed/configuration.nix b/hosts/ahmed/configuration.nix index 8a93021..3afe509 100644 --- a/hosts/ahmed/configuration.nix +++ b/hosts/ahmed/configuration.nix @@ -8,6 +8,7 @@ [ ./hardware-configuration.nix ./ssh.nix + ./disable-screen.nix ]; # Create the main user. @@ -35,18 +36,6 @@ keyMap = "dk"; # This host has a Danish keyboard layout. }; - # Disable sleep on lid close. - # FIXME: Screen does not appear to turn off when closed. - services.logind = - let - lidSwitchAction = "ignore"; - in - { - lidSwitchExternalPower = lidSwitchAction; - lidSwitchDocked = lidSwitchAction; - lidSwitch = lidSwitchAction; - }; - # Configure WiFi at computer's location. # FIXME: Don't store in plain text. networking.wireless.enable = true; -- cgit v1.2.3