From f2b1e57ee32efb5291e665b3e997bd2ea2d63445 Mon Sep 17 00:00:00 2001 From: Steph Date: Tue, 27 Sep 2022 17:24:35 +0200 Subject: [PATCH] dont suspend when connected to ac --- configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configuration.nix b/configuration.nix index 1a101ff..d4720c9 100644 --- a/configuration.nix +++ b/configuration.nix @@ -52,6 +52,8 @@ # Enable the GNOME Desktop Environment. services.xserver.displayManager.gdm.enable = true; services.xserver.desktopManager.gnome.enable = true; + services.logind.lidSwitchExternalPower = "ignore"; + # Configure keymap in X11 services.xserver = { @@ -149,6 +151,7 @@ fprintd libfprint-2-tod1-vfs0090 + gnome.gnome-tweaks gnomeExtensions.tray-icons-reloaded gnomeExtensions.emoji-selector gnomeExtensions.noannoyance-2