Fix system-services to work as standalone NixOS module

This commit is contained in:
Celes Renata
2025-12-01 01:16:14 -08:00
parent 467164a952
commit 8f28d8b4cd
+1 -8
View File
@@ -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;
}