summary refs log tree commit diff
path: root/tests/run-in-machine.nix
blob: 75bd161ec9efb1ec86862066668cc1f38390046e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
{ nixpkgs ? <nixpkgs>
, system ? builtins.currentSystem
}:

with import ../lib/testing.nix { inherit system; };

runInMachine {
  drv = (import nixpkgs { inherit system; }).aterm;
  machine = { config, pkgs, ... }: { services.sshd.enable = true; };
}