1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-03 06:19:10 +03:00

Merge pull request #212440 from K900/fwupd-fix

nixos/fwupd: fix config parameter name
This commit is contained in:
K900 2023-01-26 17:27:10 +03:00 committed by GitHub
commit c2182db406
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,12 +18,6 @@ let
fwupd = cfg.daemonSettings; fwupd = cfg.daemonSettings;
}; };
}; };
"fwupd/uefi_capsule.conf" = {
source = pkgs.writeText "uefi_capsule.conf" ''
[uefi_capsule]
OverrideESPMountPoint=${config.boot.loader.efi.efiSysMountPoint}
'';
};
}; };
originalEtc = originalEtc =
@ -147,7 +141,10 @@ in {
###### implementation ###### implementation
config = mkIf cfg.enable { config = mkIf cfg.enable {
# Disable test related plug-ins implicitly so that users do not have to care about them. # Disable test related plug-ins implicitly so that users do not have to care about them.
services.fwupd.daemonSettings.DisabledPlugins = cfg.package.defaultDisabledPlugins; services.fwupd.daemonSettings = {
DisabledPlugins = cfg.package.defaultDisabledPlugins;
EspLocation = config.boot.loader.efi.efiSysMountPoint;
};
environment.systemPackages = [ cfg.package ]; environment.systemPackages = [ cfg.package ];