flocon/modules/nix/services/power.nix
Anthony Rodriguez 2b77ac239e
treewide: config/nixos/services -> modules/nix/services
Moved every service in their own module, and conditionally enable them
based on profiles.
2025-01-14 15:10:49 +01:00

14 lines
212 B
Nix

{
lib,
config,
...
}: {
config = lib.mkIf config.local.profiles.laptop.enable {
services = {
power-profiles-daemon.enable = true;
# battery info
upower.enable = true;
};
};
}