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
|
||||
{ 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;
|
||||
};
|
||||
services.upower.enable = lib.mkDefault true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user