From fb5bceb3ff3b99f6531908f46526cb55c7d29eac Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Tue, 16 Aug 2022 18:15:15 -0400 Subject: [PATCH] nixos/fwupd: enable udisks2 Without this, you get a warning that fwupd is unable to find the ESP partition. c.f. https://github.com/fwupd/fwupd/wiki/PluginFlag:esp-not-found --- nixos/modules/services/hardware/fwupd.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/hardware/fwupd.nix b/nixos/modules/services/hardware/fwupd.nix index 241c9d143d32..eb5f6dcf8fd0 100644 --- a/nixos/modules/services/hardware/fwupd.nix +++ b/nixos/modules/services/hardware/fwupd.nix @@ -125,6 +125,8 @@ in { services.udev.packages = [ cfg.package ]; + services.udisks2.enable = true; + systemd.packages = [ cfg.package ]; };