about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorLily Foster <lily@lily.flowers>2024-03-09 12:44:46 -0500
committerLily Foster <lily@lily.flowers>2024-03-09 12:44:46 -0500
commit18015838550d57f525518568e75ef9e986fd9af7 (patch)
tree43a4355891a4e2ac73a134b6581ce4a5834633b1 /nixos/modules
parent9df3e30ce24fd28c7b3e2de0d986769db5d6225d (diff)
downloadnixlib-18015838550d57f525518568e75ef9e986fd9af7.tar
nixlib-18015838550d57f525518568e75ef9e986fd9af7.tar.gz
nixlib-18015838550d57f525518568e75ef9e986fd9af7.tar.bz2
nixlib-18015838550d57f525518568e75ef9e986fd9af7.tar.lz
nixlib-18015838550d57f525518568e75ef9e986fd9af7.tar.xz
nixlib-18015838550d57f525518568e75ef9e986fd9af7.tar.zst
nixlib-18015838550d57f525518568e75ef9e986fd9af7.zip
nixos/fwupd: fix silent failure for uefiCapsuleSettings to ever be added
Bug was introduced in 28ea07d4e33c63447e699562d0085f6eeefd6ee0.
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/hardware/fwupd.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/hardware/fwupd.nix b/nixos/modules/services/hardware/fwupd.nix
index 8a9e38d0547b..c4837ff80ec7 100644
--- a/nixos/modules/services/hardware/fwupd.nix
+++ b/nixos/modules/services/hardware/fwupd.nix
@@ -14,11 +14,11 @@ let
 
   customEtc = {
     "fwupd/fwupd.conf" = {
-      source = format.generate "fwupd.conf" {
+      source = format.generate "fwupd.conf" ({
         fwupd = cfg.daemonSettings;
       } // lib.optionalAttrs (lib.length (lib.attrNames cfg.uefiCapsuleSettings) != 0) {
         uefi_capsule = cfg.uefiCapsuleSettings;
-      };
+      });
       # fwupd tries to chmod the file if it doesn't have the right permissions
       mode = "0640";
     };