From bbbda58c4e99601935728cc568874897d98221c1 Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Mon, 10 Oct 2022 00:01:03 -0600 Subject: [PATCH] nixos/fwupd: Fix configuration file merging --- nixos/modules/services/hardware/fwupd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/hardware/fwupd.nix b/nixos/modules/services/hardware/fwupd.nix index 1be2d49f9708..98f837bd7824 100644 --- a/nixos/modules/services/hardware/fwupd.nix +++ b/nixos/modules/services/hardware/fwupd.nix @@ -50,7 +50,7 @@ let # to install it because it would create a cyclic dependency between # the outputs. We also need to enable the remote, # which should not be done by default. - mkIf cfg.enableTestRemote (enableRemote cfg.package.installedTests "fwupd-tests") + if cfg.enableTestRemote then (enableRemote cfg.package.installedTests "fwupd-tests") else {} ); in {