change ipv6 address for wake onlan
This commit is contained in:
@@ -82,6 +82,7 @@
|
|||||||
#172.18.20.229 auth.grandbesancon.fr
|
#172.18.20.229 auth.grandbesancon.fr
|
||||||
#172.18.20.181 traefikauth.grandbesancon.fr
|
#172.18.20.181 traefikauth.grandbesancon.fr
|
||||||
172.18.21.174 test-patchmon.grandbesancon.fr
|
172.18.21.174 test-patchmon.grandbesancon.fr
|
||||||
|
172.18.229.240 test-mycarto-autonome.grandbesancon.fr
|
||||||
'';
|
'';
|
||||||
wireguard = {
|
wireguard = {
|
||||||
interfaces = {
|
interfaces = {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
};
|
};
|
||||||
environment.systemPackages = [ pkgs.ethtool ];
|
environment.systemPackages = [ pkgs.ethtool ];
|
||||||
|
|
||||||
my.wolipv6address = "2a01:e0a:9cc:99d0:8f3a:6b2c:41d7:e9f5";
|
my.wolipv6address = "2a01:e0a:f5d:3400:6b2c:41d7:e9f5";
|
||||||
|
|
||||||
boot.initrd = {
|
boot.initrd = {
|
||||||
network = {
|
network = {
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
};
|
};
|
||||||
postCommands = ''
|
postCommands = ''
|
||||||
ip -6 addr add ${config.my.wolipv6address}/64 dev ${config.my.laninterface}
|
ip -6 addr add ${config.my.wolipv6address}/64 dev ${config.my.laninterface}
|
||||||
ip -6 route add default via fe80::224:d4ff:fea5:65bd dev ${config.my.laninterface}
|
ip -6 route add default via fe80::3a07:16ff:fe11:45a8 dev ${config.my.laninterface}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
availableKernelModules = [ "r8169" ];
|
availableKernelModules = [ "r8169" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user