mirror of
https://github.com/celesrenata/end-4-flakes.git
synced 2026-06-12 12:59:58 -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;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -18,6 +18,7 @@ in
|
|||||||
./components/hyprland-config.nix
|
./components/hyprland-config.nix
|
||||||
./components/terminal-config.nix
|
./components/terminal-config.nix
|
||||||
./components/touchegg.nix
|
./components/touchegg.nix
|
||||||
|
./components/system-services.nix
|
||||||
./components/config-override.nix
|
./components/config-override.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user