diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-22 14:37:43 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-22 14:37:43 +0200 |
commit | bf147771f75ac4dad43593ba319225379368da01 (patch) | |
tree | 6f209c2d7fc8f6281ee1b1c425d8dbc6855ec23d | |
parent | 77e3551e2d17a52d670424ac710cf4cbfec9b18a (diff) | |
download | nixos-bf147771f75ac4dad43593ba319225379368da01.tar nixos-bf147771f75ac4dad43593ba319225379368da01.tar.gz nixos-bf147771f75ac4dad43593ba319225379368da01.tar.bz2 nixos-bf147771f75ac4dad43593ba319225379368da01.tar.xz nixos-bf147771f75ac4dad43593ba319225379368da01.zip |
disable radvd for now
-rw-r--r-- | bragi.nix | 41 |
1 files changed, 0 insertions, 41 deletions
@@ -64,47 +64,6 @@ in rec { | |||
64 | }; | 64 | }; |
65 | }; | 65 | }; |
66 | 66 | ||
67 | services.radvd = { | ||
68 | enable = true; | ||
69 | config = '' | ||
70 | interface eth { | ||
71 | AdvSendAdvert on; | ||
72 | MinRtrAdvInterval 3; | ||
73 | MaxRtrAdvInterval 10; | ||
74 | |||
75 | prefix ffff:ffff:ffff:ffff::/64 { | ||
76 | Base6Interface eth; | ||
77 | |||
78 | AdvOnLink on; | ||
79 | AdvAutonomous on; | ||
80 | # AdvRouterAddr on; | ||
81 | }; | ||
82 | }; | ||
83 | |||
84 | interface wlp4s0 { | ||
85 | AdvSendAdvert on; | ||
86 | MinRtrAdvInterval 3; | ||
87 | MaxRtrAdvInterval 10; | ||
88 | |||
89 | prefix ffff:ffff:ffff:ffff::/64 { | ||
90 | Base6Interface eth; | ||
91 | |||
92 | AdvOnLink on; | ||
93 | AdvAutonomous on; | ||
94 | # AdvRouterAddr on; | ||
95 | }; | ||
96 | }; | ||
97 | ''; | ||
98 | }; | ||
99 | |||
100 | systemd.services.radvd = { | ||
101 | path = with pkgs; [procps]; | ||
102 | preStart = '' | ||
103 | sysctl net.ipv6.conf.eth.forwarding=1 | ||
104 | sysctl net.ipv6.conf.wlp4s0.forwarding=1 | ||
105 | ''; | ||
106 | }; | ||
107 | |||
108 | services.dhcpd4 = { | 67 | services.dhcpd4 = { |
109 | enable = true; | 68 | enable = true; |
110 | interfaces = [ "eth" | 69 | interfaces = [ "eth" |