summaryrefslogtreecommitdiff
path: root/hosts/vidhar
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar')
-rw-r--r--hosts/vidhar/default.nix14
-rw-r--r--hosts/vidhar/dsl.nix3
2 files changed, 16 insertions, 1 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix
index 18eb0629..25040f7d 100644
--- a/hosts/vidhar/default.nix
+++ b/hosts/vidhar/default.nix
@@ -158,6 +158,20 @@
158 "eno2".networkConfig.LinkLocalAddressing = "no"; 158 "eno2".networkConfig.LinkLocalAddressing = "no";
159 "telekom".networkConfig.LinkLocalAddressing = "no"; 159 "telekom".networkConfig.LinkLocalAddressing = "no";
160 }; 160 };
161 services.dhcpd6 = {
162 enable = true;
163 configFile = pkgs.writeText "dhcpd6.conf" ''
164 interface dsl {
165 send ia-pd 0;
166 }
167
168 id-assoc pd 0 {
169 prefix-interface eno1 {
170 sla-id 0;
171 }
172 }
173 '';
174 };
161 175
162 services.timesyncd.enable = false; 176 services.timesyncd.enable = false;
163 services.chrony = { 177 services.chrony = {
diff --git a/hosts/vidhar/dsl.nix b/hosts/vidhar/dsl.nix
index 74008594..202e3c18 100644
--- a/hosts/vidhar/dsl.nix
+++ b/hosts/vidhar/dsl.nix
@@ -63,7 +63,8 @@ in {
63 text = '' 63 text = ''
64 #!${pkgs.runtimeShell} 64 #!${pkgs.runtimeShell}
65 ${pkgs.procps}/bin/sysctl net/ipv6/conf/$1/use_tempaddr=1 65 ${pkgs.procps}/bin/sysctl net/ipv6/conf/$1/use_tempaddr=1
66 ${pkgs.procps}/bin/sysctl net/ipv6/conf/$1/forwarding=0 66 # ${pkgs.procps}/bin/sysctl net/ipv6/conf/$1/forwarding=0
67 ${pkgs.procps}/bin/sysctl net/ipv6/conf/$1/forwarding=1
67 ${pkgs.procps}/bin/sysctl net/ipv6/conf/$1/autoconf=1 68 ${pkgs.procps}/bin/sysctl net/ipv6/conf/$1/autoconf=1
68 ${pkgs.procps}/bin/sysctl net/ipv6/conf/$1/accept_ra=1 69 ${pkgs.procps}/bin/sysctl net/ipv6/conf/$1/accept_ra=1
69 ${pkgs.ndisc6}/bin/rdisc6 $1 70 ${pkgs.ndisc6}/bin/rdisc6 $1