diff options
author | David Wood <david@davidtw.co> | 2019-07-01 16:08:27 +0100 |
---|---|---|
committer | David Wood <david@davidtw.co> | 2019-07-02 22:26:34 +0100 |
commit | 9837facf21113c5c48ed80dab7d5ce1e387ee2f6 (patch) | |
tree | 82fd2e30d6a997721ba3ec52543c90d520788e1a /nixos/tests/deluge.nix | |
parent | f08b05d89fb0a0a975f3c9feaf48e80cb85bc615 (diff) |
nixos/deluge: user, group and web firewall opts.
This commit adds new options to the Deluge service: - Allow configuration of the user/group which runs the deluged daemon. - Allow configuration of the user/group which runs the deluge web daemon. - Allow opening firewall for the deluge web daemon.
Diffstat (limited to 'nixos/tests/deluge.nix')
-rw-r--r-- | nixos/tests/deluge.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nixos/tests/deluge.nix b/nixos/tests/deluge.nix index 22ad84e7bff1c..b58030409b5cf 100644 --- a/nixos/tests/deluge.nix +++ b/nixos/tests/deluge.nix @@ -8,9 +8,11 @@ import ./make-test.nix ({ pkgs, ...} : { simple = { services.deluge = { enable = true; - web.enable = true; + web = { + enable = true; + openFirewall = true; + }; }; - networking.firewall.allowedTCPPorts = [ 8112 ]; }; declarative = |