From a48bc46a3eb284a94b2c1074ff11d91962d55c3b Mon Sep 17 00:00:00 2001 From: Grimmauld Date: Sat, 19 Jul 2025 17:13:56 +0200 Subject: [PATCH] nixos/tests/switchTest: migrate to systemd.settings.Manager --- nixos/tests/switch-test.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/tests/switch-test.nix b/nixos/tests/switch-test.nix index 18defdfc9d76..545cbe25f167 100644 --- a/nixos/tests/switch-test.nix +++ b/nixos/tests/switch-test.nix @@ -68,9 +68,9 @@ in echo "systemd 0" > $out/init-interface-version ''; - modifiedSystemConf.configuration.systemd.extraConfig = '' - # Hello world! - ''; + modifiedSystemConf.configuration.systemd.settings.Manager = { + DefaultEnvironment = "XXX_SYSTEM=foo"; + }; addedMount.configuration.virtualisation.fileSystems."/test" = { device = "tmpfs";