From ba122332574dcd08291bb8c81140cfe2d04bf038 Mon Sep 17 00:00:00 2001 From: Zane van Iperen Date: Sat, 22 Oct 2022 17:37:58 +1000 Subject: [PATCH] apple/macbook-pro/14-1: fix service script paths Doesn't require Nix to keep around the entire nixos-hardware repo. --- apple/macbook-pro/14-1/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apple/macbook-pro/14-1/default.nix b/apple/macbook-pro/14-1/default.nix index 551649b..4561684 100644 --- a/apple/macbook-pro/14-1/default.nix +++ b/apple/macbook-pro/14-1/default.nix @@ -25,7 +25,7 @@ path = [ pkgs.bash pkgs.coreutils ]; serviceConfig.Type = "oneshot"; - serviceConfig.ExecStart = ./disable-nvme-d3cold.sh; + serviceConfig.ExecStart = "${./disable-nvme-d3cold.sh}"; serviceConfig.TimeoutSec = 0; wantedBy = [ "multi-user.target" "suspend.target" ]; @@ -44,7 +44,7 @@ path = [ pkgs.bash pkgs.kmod pkgs.bluez ]; serviceConfig.Type = "simple"; - serviceConfig.ExecStart = ./btfix.sh; + serviceConfig.ExecStart = "${./btfix.sh}"; wantedBy = [ "multi-user.target" ]; };