diff --git a/pkgs/tools/nix/nixos-option/default.nix b/pkgs/tools/nix/nixos-option/default.nix
index db6c974288c8..282329ac5285 100644
--- a/pkgs/tools/nix/nixos-option/default.nix
+++ b/pkgs/tools/nix/nixos-option/default.nix
@@ -7,6 +7,7 @@
   pkg-config,
   installShellFiles,
   nix,
+  nixosTests,
 }:
 
 stdenv.mkDerivation {
@@ -31,6 +32,8 @@ stdenv.mkDerivation {
     nix
   ];
 
+  passthru.tests.installer-simpleUefiSystemdBoot = nixosTests.installer.simpleUefiSystemdBoot;
+
   meta = with lib; {
     license = licenses.lgpl2Plus;
     mainProgram = "nixos-option";