1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 03:19:42 +01:00

apple/macbook-pro/14-1: fix service script paths

Doesn't require Nix to keep around the entire nixos-hardware repo.
This commit is contained in:
Zane van Iperen 2022-10-22 17:37:58 +10:00
parent 99ed0bc663
commit ba12233257
No known key found for this signature in database
GPG key ID: 68616B2D8AC4DCC5

View file

@ -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" ];
};