summary refs log tree commit diff
path: root/nixos/tests/hardened.nix
diff options
context:
space:
mode:
authorMaciej Krüger <mkg20001@gmail.com>2021-02-14 12:23:50 +0100
committerMaciej Krüger <mkg20001@gmail.com>2021-02-14 12:23:50 +0100
commit59eb6d3ee331146bb955922df4dea1ba67487005 (patch)
treee887b59463998db7b4c7c6eb98a113b8050df5bd /nixos/tests/hardened.nix
parent45b8e831287dcd40dff15b9da93bf8626d32d994 (diff)
downloadnixpkgs-59eb6d3ee331146bb955922df4dea1ba67487005.tar
nixpkgs-59eb6d3ee331146bb955922df4dea1ba67487005.tar.gz
nixpkgs-59eb6d3ee331146bb955922df4dea1ba67487005.tar.bz2
nixpkgs-59eb6d3ee331146bb955922df4dea1ba67487005.tar.lz
nixpkgs-59eb6d3ee331146bb955922df4dea1ba67487005.tar.xz
nixpkgs-59eb6d3ee331146bb955922df4dea1ba67487005.tar.zst
nixpkgs-59eb6d3ee331146bb955922df4dea1ba67487005.zip
nixosTests.*: update to use virtualisation.fileSystems
Diffstat (limited to 'nixos/tests/hardened.nix')
-rw-r--r--nixos/tests/hardened.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/hardened.nix b/nixos/tests/hardened.nix
index d3f1f317296..0c26eaa310d 100644
--- a/nixos/tests/hardened.nix
+++ b/nixos/tests/hardened.nix
@@ -18,7 +18,7 @@ import ./make-test-python.nix ({ pkgs, latestKernel ? false, ... } : {
       boot.initrd.postDeviceCommands = ''
         ${pkgs.dosfstools}/bin/mkfs.vfat -n EFISYS /dev/vdb
       '';
-      fileSystems = lib.mkVMOverride {
+      virtualisation.fileSystems = {
         "/efi" = {
           device = "/dev/disk/by-label/EFISYS";
           fsType = "vfat";