Merge pull request #294544 from lilyinstarlight/fix/fwupd-uefi-capsule-settings

This commit is contained in:
Bernardo Meurer
2024-03-09 16:31:44 -05:00
committed by GitHub
+2 -2
View File
@@ -14,11 +14,11 @@ let
customEtc = {
"fwupd/fwupd.conf" = {
source = format.generate "fwupd.conf" {
source = format.generate "fwupd.conf" ({
fwupd = cfg.daemonSettings;
} // lib.optionalAttrs (lib.length (lib.attrNames cfg.uefiCapsuleSettings) != 0) {
uefi_capsule = cfg.uefiCapsuleSettings;
};
});
# fwupd tries to chmod the file if it doesn't have the right permissions
mode = "0640";
};