From 0247eba923fede77b4cadc61e64551126eef4d44 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Mon, 19 Aug 2024 22:41:48 -0700 Subject: [PATCH] snowhawk: lib.getExe for wakeonlan --- hosts/snowhawk/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/snowhawk/configuration.nix b/hosts/snowhawk/configuration.nix index 779709c..bea0d52 100644 --- a/hosts/snowhawk/configuration.nix +++ b/hosts/snowhawk/configuration.nix @@ -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" ]; };