about summary refs log tree commit diff
path: root/pkgs/tools/filesystems/stratisd/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/filesystems/stratisd/default.nix')
-rw-r--r--pkgs/tools/filesystems/stratisd/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/stratisd/default.nix b/pkgs/tools/filesystems/stratisd/default.nix
index 1302c10ea8c1c..b37c46c4e2d8a 100644
--- a/pkgs/tools/filesystems/stratisd/default.nix
+++ b/pkgs/tools/filesystems/stratisd/default.nix
@@ -18,6 +18,7 @@
 , tpm2-tools
 , coreutils
 , clevisSupport ? false
+, nixosTests
 }:
 
 stdenv.mkDerivation rec {
@@ -95,6 +96,8 @@ stdenv.mkDerivation rec {
     rm -r "$out/lib/systemd/system-generators"
   '';
 
+  passthru.tests = nixosTests.stratis;
+
   meta = with lib; {
     description = "Easy to use local storage management for Linux";
     homepage = "https://stratis-storage.github.io";