Skip to content

Instantly share code, notes, and snippets.

@samrose
Created January 23, 2019 20:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samrose/ebb80fe774f6b2f47ce0ea37d45615d4 to your computer and use it in GitHub Desktop.
Save samrose/ebb80fe774f6b2f47ce0ea37d45615d4 to your computer and use it in GitHub Desktop.
{ pkgs, ...}:
{
name = "boot";
machine = { ... }: {
imports = import ../modules/module-list.nix;
};
testScript =
''
$machine->waitForUnit("multi-user.target");
$machine->shutdown;
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment