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:
commit
c2182db406
1 changed files with 4 additions and 7 deletions
|
@ -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 ];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue