diff options
Diffstat (limited to 'hosts/vidhar/dsl.nix')
-rw-r--r-- | hosts/vidhar/dsl.nix | 18 |
1 files changed, 11 insertions, 7 deletions
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" = { |