diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-04-30 11:26:20 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-05-12 22:29:30 -0300 |
commit | de2927e336fd653cb805afe8af8ed3006ff2dedf (patch) | |
tree | 8799e9de41b9909a9412df071fe70e2a28f5751a /nixos/tests/tor.nix | |
parent | 07b75a58e1664dc0913c2a1a5d0a6635987fe9ce (diff) |
nixos/tests/tor.nix: get rid of `with lib`
Diffstat (limited to 'nixos/tests/tor.nix')
-rw-r--r-- | nixos/tests/tor.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/nixos/tests/tor.nix b/nixos/tests/tor.nix index 71ec9df4641fa..b55fbf91232cb 100644 --- a/nixos/tests/tor.nix +++ b/nixos/tests/tor.nix @@ -1,15 +1,13 @@ -import ./make-test-python.nix ({ lib, ... }: with lib; - -{ +import ./make-test-python.nix ({ lib, ... }: { name = "tor"; - meta.maintainers = with maintainers; [ joachifm ]; + meta.maintainers = with lib.maintainers; [ joachifm ]; nodes.client = { pkgs, ... }: { boot.kernelParams = [ "audit=0" "apparmor=0" "quiet" ]; networking.firewall.enable = false; networking.useDHCP = false; - environment.systemPackages = with pkgs; [ netcat ]; + environment.systemPackages = [ pkgs.netcat ]; services.tor.enable = true; services.tor.client.enable = true; services.tor.settings.ControlPort = 9051; |