summaryrefslogtreecommitdiff
path: root/hosts/surtr/vpn
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-11-08 21:13:02 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-11-08 21:13:02 +0100
commitd877a2be11989f88e9e2c210e79cc2ce1540e7fd (patch)
treed43628d3b69292c0b5a0815dd73c0d1fdd4e8983 /hosts/surtr/vpn
parent3672fc1d973aacc8085c0068094ed4520f760903 (diff)
downloadnixos-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.nix6
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 = {