nixpkgs/nixos/tests/run-in-machine.nix

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