summary refs log tree commit diff
path: root/nixos/modules/hardware
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2015-08-03 20:52:53 +0300
committerNikolay Amiantov <ab@fmap.me>2015-08-03 23:26:23 +0300
commita8788c4d6a2630e063557b51e822da43a28eec40 (patch)
treec5fd042bf38951a9809baf6c5d31887bb34ec575 /nixos/modules/hardware
parentce6b96db6e4b0f1fbdba3f669da376900b5984cc (diff)
downloadnixlib-a8788c4d6a2630e063557b51e822da43a28eec40.tar
nixlib-a8788c4d6a2630e063557b51e822da43a28eec40.tar.gz
nixlib-a8788c4d6a2630e063557b51e822da43a28eec40.tar.bz2
nixlib-a8788c4d6a2630e063557b51e822da43a28eec40.tar.lz
nixlib-a8788c4d6a2630e063557b51e822da43a28eec40.tar.xz
nixlib-a8788c4d6a2630e063557b51e822da43a28eec40.tar.zst
nixlib-a8788c4d6a2630e063557b51e822da43a28eec40.zip
bumblebee: remove redundant bash process
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r--nixos/modules/hardware/video/bumblebee.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/hardware/video/bumblebee.nix b/nixos/modules/hardware/video/bumblebee.nix
index e341eac4a819..e2202e1e17df 100644
--- a/nixos/modules/hardware/video/bumblebee.nix
+++ b/nixos/modules/hardware/video/bumblebee.nix
@@ -52,9 +52,9 @@ in
     systemd.services.bumblebeed = {
       description = "Bumblebee Hybrid Graphics Switcher";
       wantedBy = [ "display-manager.service" ];
-      script = "bumblebeed --use-syslog -g ${config.hardware.bumblebee.group}";
       path = [ kernel.bbswitch bumblebee ];
       serviceConfig = {
+        ExecStart = "${bumblebee}/bin/bumblebeed --use-syslog -g ${config.hardware.bumblebee.group}";
         Restart = "always";
         RestartSec = 60;
         CPUSchedulingPolicy = "idle";