From 00aac65758c61eba13db793fd1eae036a0d290b8 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 23 Mar 2024 23:04:03 -0400 Subject: [PATCH] hyprland: enabled upower and power-profiles-daemon --- modules/hyprland.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/hyprland.nix b/modules/hyprland.nix index bd2ae80a..4263dc90 100644 --- a/modules/hyprland.nix +++ b/modules/hyprland.nix @@ -6,9 +6,11 @@ ./desktop.nix ]; - environment.sessionVariables.NIXOS_OZONE_WL = "1"; - programs.hyprland.enable = true; + services.power-profiles-daemon.enable = true; + services.upower.enable = true; + + environment.sessionVariables.NIXOS_OZONE_WL = "1"; environment.systemPackages = with pkgs; [ bemenu brightnessctl