Merge pull request #212860 from jtojnar/fwupd-keys

nixos/fwupd: Upgrade ESP path config key
This commit is contained in:
Jan Tojnar 2023-01-27 01:35:42 +01:00 committed by GitHub
commit 45f76581d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = {};