mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
22 lines
444 B
Nix
22 lines
444 B
Nix
import ./make-test.nix ({ pkgs, ...} : {
|
|
name = "transmission";
|
|
meta = with pkgs.stdenv.lib.maintainers; {
|
|
maintainers = [ coconnor ];
|
|
};
|
|
|
|
machine = { ... }: {
|
|
imports = [ ../modules/profiles/minimal.nix ];
|
|
|
|
networking.firewall.allowedTCPPorts = [ 9091 ];
|
|
|
|
services.transmission.enable = true;
|
|
};
|
|
|
|
testScript =
|
|
''
|
|
startAll;
|
|
$machine->waitForUnit("transmission");
|
|
$machine->shutdown;
|
|
'';
|
|
})
|