snowhawk: lib.getExe for wakeonlan
This commit is contained in:
parent
53afc745e7
commit
0247eba923
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@
|
|||
serviceConfig = {
|
||||
Type = "simple";
|
||||
RemainAfterExit = "true";
|
||||
ExecStart = "${pkgs.ethtool}/sbin/ethtool -s enp7s0 wol g";
|
||||
ExecStart = "${lib.getExe pkgs.ethtool} -s enp7s0 wol g";
|
||||
};
|
||||
wantedBy = [ "default.target" ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue