mirror of https://gitlab.com/curben/blog
fix(nixos-1): dedup array config
This commit is contained in:
parent
c020a300e1
commit
0e6dd4308d
|
@ -244,19 +244,15 @@ Following is my "configuration.nix". I'll show you how to secure NixOS using has
|
||||||
services.tor = {
|
services.tor = {
|
||||||
enable = false;
|
enable = false;
|
||||||
enableGeoIP = false;
|
enableGeoIP = false;
|
||||||
hiddenServices = {
|
hiddenServices = [{
|
||||||
proxy = {
|
|
||||||
name = "proxy";
|
name = "proxy";
|
||||||
version = 3;
|
version = 3;
|
||||||
map = [
|
map = [{
|
||||||
{
|
|
||||||
port = "80";
|
port = "80";
|
||||||
toHost = "[::1]";
|
toHost = "[::1]";
|
||||||
toPort = "8080";
|
toPort = "8080";
|
||||||
}
|
}];
|
||||||
];
|
}];
|
||||||
};
|
|
||||||
};
|
|
||||||
extraConfig =
|
extraConfig =
|
||||||
''
|
''
|
||||||
ClientUseIPv4 0
|
ClientUseIPv4 0
|
||||||
|
|
Loading…
Reference in New Issue