From 4d430edf52d799df97418ab486724441a5d6c256 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Fri, 30 Aug 2024 08:44:24 +0400 Subject: [PATCH] Man --- hosts/sakotop/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index ea649904..6a0035e2 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -150,6 +150,11 @@ networking.wireguard.interfaces = { }; + services.logind.extraConfig = '' + # don’t shutdown when power button is short-pressed + HandlePowerKey=ignore + ''; + # set laptop dpi services.xserver.dpi = 100;