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 = {
|
||||
enable = false;
|
||||
enableGeoIP = false;
|
||||
hiddenServices = {
|
||||
proxy = {
|
||||
hiddenServices = [{
|
||||
name = "proxy";
|
||||
version = 3;
|
||||
map = [
|
||||
{
|
||||
map = [{
|
||||
port = "80";
|
||||
toHost = "[::1]";
|
||||
toPort = "8080";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}];
|
||||
}];
|
||||
extraConfig =
|
||||
''
|
||||
ClientUseIPv4 0
|
||||
|
|
Loading…
Reference in New Issue