Files
nix/modules/home/services/poweralertd/default.nix
T
2025-09-29 20:37:53 -04:00

18 lines
309 B
Nix

{ config, lib, namespace, ... }:
let
inherit (lib) mkIf;
cfg = config.${namespace}.services.poweralertd;
in
{
options.${namespace}.services.poweralertd = {
enable = lib.mkEnableOption "poweralertd";
};
config = mkIf cfg.enable {
services.poweralertd = {
enable = true;
};
};
}