tor: more instances
This commit is contained in:
parent
a05cd2471a
commit
7f4adb81da
1 changed files with 12 additions and 0 deletions
|
@ -55,6 +55,7 @@
|
|||
MyFamily = builtins.concatStringsSep "," [
|
||||
"1B9D2C9E0EFE2C6BD23D62B2FCD145886AD242D1" # /var/lib/tor-1/fingerprint
|
||||
"293CE00D11B1D8B99AE8811CBDFDA3F353353710" # /var/lib/tor-2/fingerprint
|
||||
"27FF3E6979EF6570B9EB3B53B11964FE08F36F19" # /var/lib/tor-3/fingerprint
|
||||
];
|
||||
};
|
||||
};
|
||||
|
@ -72,6 +73,11 @@
|
|||
orPort = 444;
|
||||
controlPort = 9052;
|
||||
};
|
||||
tor-3 = mkTorContainer {
|
||||
stateDir = "/var/lib/tor-3/";
|
||||
orPort = 445;
|
||||
controlPort = 9053;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
@ -170,6 +176,12 @@
|
|||
group = builtins.toString config.ids.gids.tor;
|
||||
mode = "0700";
|
||||
}
|
||||
{
|
||||
directory = "/var/lib/tor-3";
|
||||
user = builtins.toString config.ids.uids.tor;
|
||||
group = builtins.toString config.ids.gids.tor;
|
||||
mode = "0700";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue