summaryrefslogtreecommitdiff
path: root/hosts/ahmed/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/ahmed/configuration.nix')
-rw-r--r--hosts/ahmed/configuration.nix13
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;