Add UPower service for battery monitoring in quickshell

This commit is contained in:
Celes Renata
2025-12-01 01:11:22 -08:00
parent 78e6f51288
commit 75779601c8
2 changed files with 15 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
# System services required for dots-hyprland
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.programs.dots-hyprland;
in
{
config = mkIf cfg.enable {
# UPower for battery monitoring in quickshell bar
services.upower.enable = true;
};
}
+1
View File
@@ -18,6 +18,7 @@ in
./components/hyprland-config.nix
./components/terminal-config.nix
./components/touchegg.nix
./components/system-services.nix
./components/config-override.nix
];