summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/vidhar/default.nix3
-rw-r--r--hosts/vidhar/dsl.nix18
2 files changed, 14 insertions, 7 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix
index 917bb522..ceec1f47 100644
--- a/hosts/vidhar/default.nix
+++ b/hosts/vidhar/default.nix
@@ -125,6 +125,9 @@
125 subnet 10.141.0.0 netmask 255.255.255.0 { 125 subnet 10.141.0.0 netmask 255.255.255.0 {
126 range 10.141.0.128 10.141.0.254; 126 range 10.141.0.128 10.141.0.254;
127 option domain-name-servers 1.1.1.1, 1.0.0.1; 127 option domain-name-servers 1.1.1.1, 1.0.0.1;
128 option broadcast-address 10.141.0.255;
129 option routers 10.141.0.1;
130 option domain-name "asgard.yggdrasil";
128 } 131 }
129 ''; 132 '';
130 }; 133 };
diff --git a/hosts/vidhar/dsl.nix b/hosts/vidhar/dsl.nix
index 0a28e50a..74008594 100644
--- a/hosts/vidhar/dsl.nix
+++ b/hosts/vidhar/dsl.nix
@@ -59,13 +59,17 @@ in {
59 ''; 59 '';
60 mode = "0555"; 60 mode = "0555";
61 }; 61 };
62 # "ppp/ipv6-up" = { 62 "ppp/ipv6-up" = {
63 # text = '' 63 text = ''
64 # #!${pkgs.runtimeShell} 64 #!${pkgs.runtimeShell}
65 # ${pkgs.iproute}/bin/ip -6 route add default via "$5" dev "${pppInterface}" metric 512 65 ${pkgs.procps}/bin/sysctl net/ipv6/conf/$1/use_tempaddr=1
66 # ''; 66 ${pkgs.procps}/bin/sysctl net/ipv6/conf/$1/forwarding=0
67 # mode = "0555"; 67 ${pkgs.procps}/bin/sysctl net/ipv6/conf/$1/autoconf=1
68 # }; 68 ${pkgs.procps}/bin/sysctl net/ipv6/conf/$1/accept_ra=1
69 ${pkgs.ndisc6}/bin/rdisc6 $1
70 '';
71 mode = "0555";
72 };
69 }; 73 };
70 74
71 systemd.network.networks."dsl" = { 75 systemd.network.networks."dsl" = {