diff options
author | Linnnus <[email protected]> | 2023-09-16 16:26:22 +0200 |
---|---|---|
committer | Linnnus <[email protected]> | 2023-09-18 17:24:13 +0200 |
commit | f9e62410b7c721a11c80f27b2b2b460202e0112b (patch) | |
tree | ed544caa547a38a95f1746b7ca65fc4df87da229 /hosts/ahmed/configuration.nix | |
parent | ed23fbac210d662ec544a0651c9945e196b90d54 (diff) |
Disable ahmed's screen
Diffstat (limited to 'hosts/ahmed/configuration.nix')
-rw-r--r-- | hosts/ahmed/configuration.nix | 13 |
1 files changed, 1 insertions, 12 deletions
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; |