diff options
| author | Akshay Nair <phenax5@gmail.com> | 2024-01-13 17:50:48 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2024-01-13 17:50:48 +0530 |
| commit | 1f5fd6dba444ef0faef7e0799a205183c6ceb9af (patch) | |
| tree | dd78bb0a468003dca5122cd17c21406b7442e1da /configuration.nix | |
| parent | fba2849d709fcafa500ca2392e58b15255f4ef5b (diff) | |
| download | nixos-config-1f5fd6dba444ef0faef7e0799a205183c6ceb9af.tar.gz nixos-config-1f5fd6dba444ef0faef7e0799a205183c6ceb9af.zip | |
config sync
Diffstat (limited to '')
| -rw-r--r-- | configuration.nix | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/configuration.nix b/configuration.nix index 8f37b76..1c30b42 100644 --- a/configuration.nix +++ b/configuration.nix @@ -10,7 +10,7 @@ in { imports = [ <home-manager/nixos> - ./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 = { |
