summaryrefslogtreecommitdiff
path: root/hosts/vidhar
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-12-26 09:47:10 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-12-26 09:47:10 +0100
commit270778266aea356a600d42b9ab50cf036b7df34d (patch)
tree04f30f937a81dcc12c997474ae022643090730e3 /hosts/vidhar
parente102859e372e9671e8ff018421c17b1459ae4181 (diff)
downloadnixos-270778266aea356a600d42b9ab50cf036b7df34d.tar
nixos-270778266aea356a600d42b9ab50cf036b7df34d.tar.gz
nixos-270778266aea356a600d42b9ab50cf036b7df34d.tar.bz2
nixos-270778266aea356a600d42b9ab50cf036b7df34d.tar.xz
nixos-270778266aea356a600d42b9ab50cf036b7df34d.zip
vidhar: ndppd
Diffstat (limited to 'hosts/vidhar')
-rw-r--r--hosts/vidhar/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix
index 2d117c3d..25dcc7db 100644
--- a/hosts/vidhar/default.nix
+++ b/hosts/vidhar/default.nix
@@ -122,6 +122,19 @@
122 ]; 122 ];
123 }; 123 };
124 }; 124 };
125 services.ndppd = {
126 enable = true;
127 proxies = {
128 ${config.networking.pppInterface} = {
129 router = true;
130 rules.lan = {
131 method = "iface";
132 interface = "eno1";
133 network = "::/0";
134 };
135 };
136 };
137 };
125 boot.kernel.sysctl = { 138 boot.kernel.sysctl = {
126 "net.ipv6.conf.all.forwarding" = true; 139 "net.ipv6.conf.all.forwarding" = true;
127 "net.ipv6.conf.default.forwarding" = true; 140 "net.ipv6.conf.default.forwarding" = true;