Files
nix-config/modules/services/fwupd.nix
T

16 lines
313 B
Nix
Raw Normal View History

2026-08-20 22:03:24 +02:00
{
flake.modules.nixos.fwupd = {
lib,
config,
...
}:
with lib; let
cfg = config.mySystem.services.fwupd;
in {
options.mySystem.services.fwupd.enable = mkEnableOption "Enable fwupd";
config.services.fwupd = mkIf cfg.enable {
inherit (cfg) enable;
};
};
}