From 0fe120fe329b889648b38f95ee0feb5eea64df59 Mon Sep 17 00:00:00 2001 From: kat witch Date: Tue, 8 Dec 2020 17:41:58 +0000 Subject: [PATCH] more better-er --- configuration/hosts/samhain/services/thermal/thermal.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configuration/hosts/samhain/services/thermal/thermal.nix b/configuration/hosts/samhain/services/thermal/thermal.nix index d58103a3..b645e731 100644 --- a/configuration/hosts/samhain/services/thermal/thermal.nix +++ b/configuration/hosts/samhain/services/thermal/thermal.nix @@ -14,8 +14,8 @@ serviceConfig = { RemainAfterExit = "no"; Type = "simple"; - ExecStart = "/usr/bin/env bash ${./kaede-thermals.sh} start"; - ExecStop = "/usr/bin/env bash ${./kaede-thermals.sh} stop"; + ExecStart = "${pkgs.runtimeShell} ${./kaede-thermals.sh} start"; + ExecStop = "${pkgs.runtimeShell} ${./kaede-thermals.sh} stop"; User = "root"; }; }; @@ -25,8 +25,8 @@ serviceConfig = { RemainAfterExit = "yes"; Type = "oneshot"; - ExecStart = "/usr/bin/env bash ${./kaede-power.sh} start"; - ExecStop = "/usr/bin/env bash ${./kaede-power.sh} stop"; + ExecStart = "${pkgs.runtimeShell} ${./kaede-power.sh} start"; + ExecStop = "${pkgs.runtimeShell} ${./kaede-power.sh} stop"; User = "root"; }; };