snowhawk: lib.getExe for wakeonlan
parent
53afc745e7
commit
0247eba923
|
@ -128,7 +128,7 @@
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
RemainAfterExit = "true";
|
RemainAfterExit = "true";
|
||||||
ExecStart = "${pkgs.ethtool}/sbin/ethtool -s enp7s0 wol g";
|
ExecStart = "${lib.getExe pkgs.ethtool} -s enp7s0 wol g";
|
||||||
};
|
};
|
||||||
wantedBy = [ "default.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue