3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/tests/transmission.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
488 B
Nix
Raw Normal View History

import ./make-test-python.nix ({ pkgs, ...} : {
name = "transmission";
meta = with pkgs.lib.maintainers; {
maintainers = [ coconnor ];
};
2022-03-20 23:15:30 +00:00
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()
'';
})