diff options
Diffstat (limited to 'modules/by-name/fw/fwupd')
-rw-r--r-- | modules/by-name/fw/fwupd/module.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/by-name/fw/fwupd/module.nix b/modules/by-name/fw/fwupd/module.nix new file mode 100644 index 00000000..5ad4f467 --- /dev/null +++ b/modules/by-name/fw/fwupd/module.nix @@ -0,0 +1,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; + }; +} |