nixos/tests/user-activation-scripts: enable switch-to-configuration

This commit is contained in:
K900 2024-09-08 16:40:45 +03:00
parent efaf9c3645
commit b683d4dbbd

View File

@ -3,6 +3,7 @@ import ./make-test-python.nix ({ lib, ... }: {
meta = with lib.maintainers; { maintainers = [ chkno ]; };
nodes.machine = {
system.switch.enable = true;
system.userActivationScripts.foo = "mktemp ~/user-activation-ran.XXXXXX";
users.users.alice = {
initialPassword = "pass1";