diff options
Diffstat (limited to 'hosts/vidhar/default.nix')
-rw-r--r-- | hosts/vidhar/default.nix | 13 |
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; |