diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-11-08 21:13:02 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-11-08 21:13:02 +0100 |
commit | d877a2be11989f88e9e2c210e79cc2ce1540e7fd (patch) | |
tree | d43628d3b69292c0b5a0815dd73c0d1fdd4e8983 /hosts/surtr/vpn | |
parent | 3672fc1d973aacc8085c0068094ed4520f760903 (diff) | |
download | nixos-d877a2be11989f88e9e2c210e79cc2ce1540e7fd.tar nixos-d877a2be11989f88e9e2c210e79cc2ce1540e7fd.tar.gz nixos-d877a2be11989f88e9e2c210e79cc2ce1540e7fd.tar.bz2 nixos-d877a2be11989f88e9e2c210e79cc2ce1540e7fd.tar.xz nixos-d877a2be11989f88e9e2c210e79cc2ce1540e7fd.zip |
...
Diffstat (limited to 'hosts/surtr/vpn')
-rw-r--r-- | hosts/surtr/vpn/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hosts/surtr/vpn/default.nix b/hosts/surtr/vpn/default.nix index 7f3065f7..74a9fb22 100644 --- a/hosts/surtr/vpn/default.nix +++ b/hosts/surtr/vpn/default.nix | |||
@@ -11,13 +11,13 @@ in { | |||
11 | boot.kernel.sysctl = { | 11 | boot.kernel.sysctl = { |
12 | "net.netfilter.nf_log_all_netns" = true; | 12 | "net.netfilter.nf_log_all_netns" = true; |
13 | }; | 13 | }; |
14 | 14 | ||
15 | networking.namespaces = { | 15 | networking.namespaces = { |
16 | enable = true; | 16 | enable = true; |
17 | containers."vpn".config = { | 17 | containers."vpn".config = { |
18 | boot.kernel.sysctl = { | 18 | boot.kernel.sysctl = { |
19 | "net.core.rmem_max" = "4194304"; | 19 | "net.core.rmem_max" = 4194304; |
20 | "net.core.wmem_max" = "4194304"; | 20 | "net.core.wmem_max" = 4194304; |
21 | }; | 21 | }; |
22 | 22 | ||
23 | environment = { | 23 | environment = { |