From 8e97065d779723bfab1469299f8dc321a7749def Mon Sep 17 00:00:00 2001 From: Pedro Rey Anca Date: Wed, 9 Jul 2025 13:53:32 +0200 Subject: [PATCH] Use hyprpolkit --- modules/home/hyprland/config.nix | 1 - modules/home/hyprland/hyprland.nix | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/home/hyprland/config.nix b/modules/home/hyprland/config.nix index fac924a..c67692f 100644 --- a/modules/home/hyprland/config.nix +++ b/modules/home/hyprland/config.nix @@ -3,7 +3,6 @@ settings = { # autostart exec-once = [ - "${pkgs.lxqt.lxqt-policykit}/bin/lxqt-policykit-agent &" "nm-applet &" "wl-clip-persist --clipboard regular &" "bash -c 'if [ ! -f ~/.config/hypr/wallpaper.png ]; then wall-change ~/.config/hypr/default_wallpaper.png; fi'" diff --git a/modules/home/hyprland/hyprland.nix b/modules/home/hyprland/hyprland.nix index 7c4515d..8fa7f5b 100644 --- a/modules/home/hyprland/hyprland.nix +++ b/modules/home/hyprland/hyprland.nix @@ -25,4 +25,6 @@ # enableNvidiaPatches = false; systemd.enable = true; }; + + services.hyprpolkitagent.enable = true; }