Merge pull request #220555 from lilyinstarlight/feature/fwupd-uefi-capsule
nixos/fwupd: add settings option for uefi_capsule.conf
This commit is contained in:
commit
6798068e84
1 changed files with 16 additions and 0 deletions
|
@ -18,6 +18,12 @@ let
|
|||
fwupd = cfg.daemonSettings;
|
||||
};
|
||||
};
|
||||
|
||||
"fwupd/uefi_capsule.conf" = {
|
||||
source = format.generate "uefi_capsule.conf" {
|
||||
uefi_capsule = cfg.uefiCapsuleSettings;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
originalEtc =
|
||||
|
@ -138,6 +144,16 @@ in {
|
|||
Configurations for the fwupd daemon.
|
||||
'';
|
||||
};
|
||||
|
||||
uefiCapsuleSettings = mkOption {
|
||||
type = types.submodule {
|
||||
freeformType = format.type.nestedTypes.elemType;
|
||||
};
|
||||
default = {};
|
||||
description = lib.mdDoc ''
|
||||
UEFI capsule configurations for the fwupd daemon.
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue