From 1f5fd6dba444ef0faef7e0799a205183c6ceb9af Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 13 Jan 2024 17:50:48 +0530 Subject: config sync --- configuration.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'configuration.nix') diff --git a/configuration.nix b/configuration.nix index 8f37b76..1c30b42 100644 --- a/configuration.nix +++ b/configuration.nix @@ -10,7 +10,7 @@ in { imports = [ - ./hardware/thinkpad-e14/hardware-configuration.nix + ./hardware/thinkpad-e14/default.nix ./packages.nix ./overlays-system.nix ./modules/login.nix @@ -91,7 +91,7 @@ in xdgOpenUsePortal = false; extraPortals = (with pkgs; [ xdg-desktop-portal - xdg-desktop-portal-gtk + # xdg-desktop-portal-gtk xdg-desktop-portal-xapp ]); }; @@ -128,6 +128,16 @@ in noto-fonts-emoji ]; + services.logind = { + powerKey = "ignore"; + rebootKey = "ignore"; + lidSwitch = "ignore"; + lidSwitchDocked = "ignore"; + lidSwitchExternalPower = "ignore"; + hibernateKey = "ignore"; + suspendKey = "ignore"; + }; + # programs.firefox = { # enable = true; # preferences = { -- cgit v1.3.1