From b3e7f0f97ac5da561568cf9442a4454eddd70f54 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Sun, 24 Jan 2021 16:35:12 +0300 Subject: [PATCH] T420-Laptop: ignore lid switch --- machines/T420-Laptop/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/machines/T420-Laptop/default.nix b/machines/T420-Laptop/default.nix index dc85d54..0d37b7e 100644 --- a/machines/T420-Laptop/default.nix +++ b/machines/T420-Laptop/default.nix @@ -12,6 +12,8 @@ vsftpd ]; + services.logind.lidSwitch = "ignore"; + security.sudo.wheelNeedsPassword = false; deviceSpecific.devInfo = {