14 lines
238 B
Nix
Raw Normal View History

2025-07-05 00:02:39 +02:00
{
lib,
config,
...
}:
with lib; let
2025-08-15 21:33:22 +02:00
cfg = config.mySystem.services.fwupd;
2025-07-05 00:02:39 +02:00
in {
2025-08-15 21:33:22 +02:00
options.mySystem.services.fwupd.enable = mkEnableOption "Enable fwupd";
2025-07-05 00:02:39 +02:00
config.services.fwupd = mkIf cfg.enable {
inherit (cfg) enable;
};
}