From 90c188c58d420f3333e41f565a8830b50cac6070 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Thu, 7 Sep 2023 11:02:54 +0400 Subject: [PATCH] laptop :( --- hosts/sakotop/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index f295e0e7..e98a9c3e 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -107,6 +107,12 @@ }; }; + # laptop :( + services.logind.extraConfig = '' + # don’t shutdown when power button is short-pressed + HandlePowerKey=ignore + ''; + # Enable CUPS to print documents. # services.printing.enable = true;