1 2 3 4 5 6 7 8 9 10 11 12 13 14
{ config, lib, ... }: let cfg = config.soispha.services.fwupd; in { options.soispha.services.fwupd = { enable = lib.mkEnableOption "fwupd"; }; config = lib.mkIf cfg.enable { services.fwupd.enable = true; }; }