d56f44df06
GitOrigin-RevId: bc4b9eef3ce3d5a90d8693e8367c9cbfc9fc1e13
23 lines
488 B
Nix
23 lines
488 B
Nix
import ./make-test-python.nix ({ pkgs, ...} : {
|
|
name = "transmission";
|
|
meta = with pkgs.lib.maintainers; {
|
|
maintainers = [ coconnor ];
|
|
};
|
|
|
|
nodes.machine = { ... }: {
|
|
imports = [ ../modules/profiles/minimal.nix ];
|
|
|
|
networking.firewall.allowedTCPPorts = [ 9091 ];
|
|
|
|
security.apparmor.enable = true;
|
|
|
|
services.transmission.enable = true;
|
|
};
|
|
|
|
testScript =
|
|
''
|
|
start_all()
|
|
machine.wait_for_unit("transmission")
|
|
machine.shutdown()
|
|
'';
|
|
})
|