forked from Shinonome/alt-illogical-impulse
Fix system-services to work as standalone NixOS module
This commit is contained in:
@@ -1,14 +1,7 @@
|
|||||||
# System services required for dots-hyprland
|
# System services required for dots-hyprland
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
let
|
|
||||||
cfg = config.programs.dots-hyprland;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
config = mkIf cfg.enable {
|
# UPower for battery monitoring in quickshell bar
|
||||||
# UPower for battery monitoring in quickshell bar
|
services.upower.enable = lib.mkDefault true;
|
||||||
services.upower.enable = true;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user