From da5b9362e684edde3b997336edbfa5b08103373a Mon Sep 17 00:00:00 2001 From: alyx Date: Mon, 30 Jun 2025 13:16:46 +0100 Subject: [PATCH] make the power key handled by the os, not niri --- base/absolution/configuration.nix | 2 -- home/niri.nix | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/base/absolution/configuration.nix b/base/absolution/configuration.nix index dad7325..17bc661 100644 --- a/base/absolution/configuration.nix +++ b/base/absolution/configuration.nix @@ -34,8 +34,6 @@ environment.pathsToLink = [ "/share/xdg-desktop-portal" ]; - environment.sessionVariables = {ELECTRON_OZONE_PLATFORM_HINT = "wayland";}; - systemd = { user.services.polkit-gnome-authentication-agent-1 = { description = "polkit-gnome-authentication-agent-1"; diff --git a/home/niri.nix b/home/niri.nix index 0b05117..baa390c 100644 --- a/home/niri.nix +++ b/home/niri.nix @@ -16,6 +16,7 @@ programs.niri = { enable = true; settings = { + input.power-key-handling.enable = false; input.touchpad = { accel-profile = "flat"; click-method = "clickfinger";