mirror of
https://github.com/celesrenata/end-4-flakes.git
synced 2026-06-06 18:59:25 -05:00
Add UPower service for battery monitoring in quickshell
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user