blob: b69ddd84d009a710d86704933698cd95322d7d22 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
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()
'';
})
|