about summary refs log tree commit diff
path: root/nixos/modules/services/hardware
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2023-01-27 09:36:55 +0100
committerVladimír Čunát <v@cunat.cz>2023-01-27 09:36:55 +0100
commit8a77ed60ac0870243e798379e96e91ec978290d3 (patch)
treedf4cea82a8718da0963f28bf42bf6f20a0ec68bd /nixos/modules/services/hardware
parent2a8fae3ee59a38a31dfe388bd873772f47e00a5b (diff)
parentf80ac848e3d6f0c12c52758c0f25c10c97ca3b62 (diff)
Merge branch 'master' into staging-next
Diffstat (limited to 'nixos/modules/services/hardware')
-rw-r--r--nixos/modules/services/hardware/fwupd.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/nixos/modules/services/hardware/fwupd.nix b/nixos/modules/services/hardware/fwupd.nix
index 2431cb2a57c4a..4e7d730d127b7 100644
--- a/nixos/modules/services/hardware/fwupd.nix
+++ b/nixos/modules/services/hardware/fwupd.nix
@@ -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 = {};