diff --git a/asus/battery.nix b/asus/battery.nix index 79f480a..14c45e3 100644 --- a/asus/battery.nix +++ b/asus/battery.nix @@ -30,7 +30,7 @@ in serviceConfig = { Type = "oneshot"; Restart = "on-failure"; - ExecStart = "/bin/sh -c 'echo ${toString cfg.chargeUpto} > /sys/class/power_supply/BAT0/charge_control_end_threshold'"; + ExecStart = "${pkgs.runtimeShell} -c 'echo ${toString cfg.chargeUpto} > /sys/class/power_supply/BAT0/charge_control_end_threshold'"; }; }; };