forked from Shinonome/alt-illogical-impulse
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/terminal-config.nix
|
||||
./components/touchegg.nix
|
||||
./components/system-services.nix
|
||||
./components/config-override.nix
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user