nixpkgs/tests/run-in-machine.nix
2013-10-02 12:06:02 +02:00

11 lines
251 B
Nix

{ 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; };
}