about summary refs log tree commit diff stats
path: root/modules/system/services/fwupd/default.nix
blob: 5ad4f4673b6419684cae6513215c6214885ee21c (plain) (blame)
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;
  };
}