From 0391e12ffbf18edba79e76a299f7f84cabbe762b Mon Sep 17 00:00:00 2001 From: spl3g Date: Tue, 23 Jan 2024 23:11:39 +0300 Subject: some emacs and hypr changes --- nixos/laptop/configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'nixos/laptop') diff --git a/nixos/laptop/configuration.nix b/nixos/laptop/configuration.nix index 948aed6..7d38479 100644 --- a/nixos/laptop/configuration.nix +++ b/nixos/laptop/configuration.nix @@ -42,6 +42,13 @@ users.jerpo = import ../../home-manager/laptop; }; + services.logind.extraConfig = '' + HandlePowerKey=ignore + HandleLidSwitch=suspend + HandleLidSwitchExternalPower=suspend + ''; + + # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion system.stateVersion = "23.05"; } -- cgit v1.2.3