From b51a77b77f9c9da05cfb2f6f807478a85c7069d0 Mon Sep 17 00:00:00 2001 From: K900 Date: Sun, 8 Sep 2024 16:10:22 +0300 Subject: [PATCH] nixos/tests/restart-by-activation-script: enable switch-to-configuration --- nixos/tests/restart-by-activation-script.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/tests/restart-by-activation-script.nix b/nixos/tests/restart-by-activation-script.nix index 0ac079e0101e..fdab892b7218 100644 --- a/nixos/tests/restart-by-activation-script.nix +++ b/nixos/tests/restart-by-activation-script.nix @@ -7,6 +7,8 @@ import ./make-test-python.nix ({ pkgs, ...} : { nodes.machine = { pkgs, ... }: { imports = [ ../modules/profiles/minimal.nix ]; + system.switch.enable = true; + systemd.services.restart-me = { wantedBy = [ "multi-user.target" ]; serviceConfig = {