summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-10-10 12:02:18 +0000
committerGitHub <noreply@github.com>2022-10-10 12:02:18 +0000
commit8d32772702a4ebdf15c77e2e927787ae360a6bf6 (patch)
tree778ee1c5ae2184334d5b15b1ffe99ab1fc66067e /nixos
parent579766d1fda7fc2a52db4ed822f08bdbf3440cb5 (diff)
parent265121ef549be513ffddda5e69704238691649b9 (diff)
Merge staging-next into staging
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/hardware/fwupd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/hardware/fwupd.nix b/nixos/modules/services/hardware/fwupd.nix
index 1be2d49f9708f..98f837bd78245 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 {