1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00
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; };
}