nixos/tests/tor.nix: get rid of with lib

This commit is contained in:
Anderson Torres 2023-04-30 11:26:20 -03:00
parent 07b75a58e1
commit de2927e336

View File

@ -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;