summaryrefslogtreecommitdiff
path: root/hosts/vidhar/dsl.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-11-15 10:21:44 +0059
committerGregor Kleen <gkleen@yggdrasil.li>2021-11-15 10:21:44 +0059
commit0a0a6719a63d4518631bc42c8eaca39a8f9ed223 (patch)
tree11c4d583fe660e2fdaa4395d7aeafc047b017e47 /hosts/vidhar/dsl.nix
parent48a11c46781d1f1cfcbb4b7364de6ac19c5eff9f (diff)
downloadnixos-0a0a6719a63d4518631bc42c8eaca39a8f9ed223.tar
nixos-0a0a6719a63d4518631bc42c8eaca39a8f9ed223.tar.gz
nixos-0a0a6719a63d4518631bc42c8eaca39a8f9ed223.tar.bz2
nixos-0a0a6719a63d4518631bc42c8eaca39a8f9ed223.tar.xz
nixos-0a0a6719a63d4518631bc42c8eaca39a8f9ed223.zip
vidhar: ...
Diffstat (limited to 'hosts/vidhar/dsl.nix')
-rw-r--r--hosts/vidhar/dsl.nix18
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" = {