about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorMartin Weinelt2023-03-06 08:21:14 +0100
committerMartin Weinelt2023-03-06 08:21:14 +0100
commitb04848e5fe506a8ed8beeaec6075f867ee7443ac (patch)
treea68758a3c5e8085acafc2bff54cd6c5cab32aaf7 /nixos/tests
parent38e74f86e5365eadf7de99e13273bbce8dd733a8 (diff)
parent21eda9bc80bef824a037582b1e5a43ba74e92daa (diff)
Merge remote-tracking branch 'origin/master' into staging-next
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/systemd-initrd-simple.nix4
-rw-r--r--nixos/tests/wireguard/namespaces.nix1
2 files changed, 2 insertions, 3 deletions
diff --git a/nixos/tests/systemd-initrd-simple.nix b/nixos/tests/systemd-initrd-simple.nix
index 5d98114304b7..f7f4863d17e3 100644
--- a/nixos/tests/systemd-initrd-simple.nix
+++ b/nixos/tests/systemd-initrd-simple.nix
@@ -6,9 +6,7 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: {
       enable = true;
       emergencyAccess = true;
     };
-    fileSystems = lib.mkVMOverride {
-      "/".autoResize = true;
-    };
+    virtualisation.fileSystems."/".autoResize = true;
   };
 
   testScript = ''
diff --git a/nixos/tests/wireguard/namespaces.nix b/nixos/tests/wireguard/namespaces.nix
index 1790c45bb1f6..d0eb009e1107 100644
--- a/nixos/tests/wireguard/namespaces.nix
+++ b/nixos/tests/wireguard/namespaces.nix
@@ -39,6 +39,7 @@ import ../make-test-python.nix ({ pkgs, lib, kernelPackages ? null, ... } : {
         preSetup = ''
           ip netns add ${interfaceNamespace}
         '';
+        mtu = 1280;
         inherit interfaceNamespace;
       };
     };