mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
nixos/tests/user-activation-scripts: enable switch-to-configuration
This commit is contained in:
parent
efaf9c3645
commit
b683d4dbbd
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue