From d72637ffedc77eebb7b689348a50f09cca54e1bf Mon Sep 17 00:00:00 2001 From: RGBCube Date: Thu, 9 May 2024 22:57:26 +0300 Subject: [PATCH] Move logind config into hyprland --- modules/hyprland/default.nix | 2 ++ modules/logind.nix | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 modules/logind.nix diff --git a/modules/hyprland/default.nix b/modules/hyprland/default.nix index 7665b43..de4825a 100644 --- a/modules/hyprland/default.nix +++ b/modules/hyprland/default.nix @@ -8,6 +8,8 @@ in desktopSystemConfiguration { package32 = hyprPkgs.pkgsi686Linux.mesa.drivers; }; + services.logind.powerKey = "ignore"; + xdg.portal = enabled { config.common.default = "*"; diff --git a/modules/logind.nix b/modules/logind.nix deleted file mode 100644 index 8e68ce3..0000000 --- a/modules/logind.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ lib, ... }: with lib; - -desktopSystemConfiguration { - services.logind.powerKey = "ignore"; -}