add qemu & battery notifs

This commit is contained in:
2025-09-29 20:37:53 -04:00
parent 2a40dc791d
commit eb0c28d2f0
5 changed files with 99 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
{ 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;
};
};
}