From bf147771f75ac4dad43593ba319225379368da01 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 22 Apr 2018 14:37:43 +0200 Subject: disable radvd for now --- bragi.nix | 41 ----------------------------------------- 1 file changed, 41 deletions(-) diff --git a/bragi.nix b/bragi.nix index f76aef61..70d16cbb 100644 --- a/bragi.nix +++ b/bragi.nix @@ -64,47 +64,6 @@ in rec { }; }; - services.radvd = { - enable = true; - config = '' - interface eth { - AdvSendAdvert on; - MinRtrAdvInterval 3; - MaxRtrAdvInterval 10; - - prefix ffff:ffff:ffff:ffff::/64 { - Base6Interface eth; - - AdvOnLink on; - AdvAutonomous on; - # AdvRouterAddr on; - }; - }; - - interface wlp4s0 { - AdvSendAdvert on; - MinRtrAdvInterval 3; - MaxRtrAdvInterval 10; - - prefix ffff:ffff:ffff:ffff::/64 { - Base6Interface eth; - - AdvOnLink on; - AdvAutonomous on; - # AdvRouterAddr on; - }; - }; - ''; - }; - - systemd.services.radvd = { - path = with pkgs; [procps]; - preStart = '' - sysctl net.ipv6.conf.eth.forwarding=1 - sysctl net.ipv6.conf.wlp4s0.forwarding=1 - ''; - }; - services.dhcpd4 = { enable = true; interfaces = [ "eth" -- cgit v1.2.3