about summary refs log tree commit diff
path: root/nixpkgs/nixos/tests/systemd-initrd-luks-tpm2.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/tests/systemd-initrd-luks-tpm2.nix')
-rw-r--r--nixpkgs/nixos/tests/systemd-initrd-luks-tpm2.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixpkgs/nixos/tests/systemd-initrd-luks-tpm2.nix b/nixpkgs/nixos/tests/systemd-initrd-luks-tpm2.nix
index 73aa190ad620..d9dd9118a3a2 100644
--- a/nixpkgs/nixos/tests/systemd-initrd-luks-tpm2.nix
+++ b/nixpkgs/nixos/tests/systemd-initrd-luks-tpm2.nix
@@ -28,6 +28,7 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: {
         };
       };
       virtualisation.rootDevice = "/dev/mapper/cryptroot";
+      virtualisation.fileSystems."/".autoFormat = true;
     };
   };