forked from mirrors/nixpkgs
nixos/fwupd: Upgrade ESP path config key
This setting was renamed and moved to the main config file in fwupd 1.8.5:5d38e0aeea
Without this patch, fwupd tries to migrate the config and crashes when it meets the immutable: FuEngine migrating OverrideESPMountPoint=/boot to EspLocation Failed to load daemon: failed to load engine: Failed to create file ?/etc/fwupd/daemon.conf.6HZBZ1?: Read-only file system The setting was first introduced to the module in08547ff642
to override the store paths set during build.5d38e0aeea
This commit is contained in:
parent
32e7d3f420
commit
42930c79dd
1 changed files with 10 additions and 0 deletions
|
@ -121,6 +121,16 @@ in {
|
|||
List of plugins to be disabled.
|
||||
'';
|
||||
};
|
||||
|
||||
EspLocation = mkOption {
|
||||
type = types.path;
|
||||
default = config.boot.loader.efi.efiSysMountPoint;
|
||||
defaultText = lib.literalExpression "config.boot.loader.efi.efiSysMountPoint";
|
||||
description = lib.mdDoc ''
|
||||
The EFI system partition (ESP) path used if UDisks is not available
|
||||
or if this partition is not mounted at /boot/efi, /boot, or /efi
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
default = {};
|
||||
|
|
Loading…
Add table
Reference in a new issue