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:01:42 +0000
committerGitHub <noreply@github.com>2022-10-10 12:01:42 +0000
commit265121ef549be513ffddda5e69704238691649b9 (patch)
tree3edc350ab5488ae964519f59f440cea756e4912e /nixos
parent96dc7cf3d2b832a13835cd7b241eed7687abf8b5 (diff)
parent579238da5f431b7833a9f0681663900aaf0dd1e8 (diff)
Merge master into staging-next
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 {