tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/tests/tor.nix: get rid of `with lib`
Anderson Torres
2 years ago
de2927e3
07b75a58
+3
-5
1 changed file
expand all
collapse all
unified
split
nixos
tests
tor.nix
+3
-5
nixos/tests/tor.nix
···
1
1
-
import ./make-test-python.nix ({ lib, ... }: with lib;
2
2
-
3
3
-
{
1
1
+
import ./make-test-python.nix ({ lib, ... }: {
4
2
name = "tor";
5
5
-
meta.maintainers = with maintainers; [ joachifm ];
3
3
+
meta.maintainers = with lib.maintainers; [ joachifm ];
6
4
7
5
nodes.client = { pkgs, ... }: {
8
6
boot.kernelParams = [ "audit=0" "apparmor=0" "quiet" ];
9
7
networking.firewall.enable = false;
10
8
networking.useDHCP = false;
11
9
12
12
-
environment.systemPackages = with pkgs; [ netcat ];
10
10
+
environment.systemPackages = [ pkgs.netcat ];
13
11
services.tor.enable = true;
14
12
services.tor.client.enable = true;
15
13
services.tor.settings.ControlPort = 9051;