mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 02:48:42 +08: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:
@@ -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" ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user