3
0
Fork 0
forked from mirrors/nixpkgs

bumblebee: remove redundant bash process

This commit is contained in:
Nikolay Amiantov 2015-08-03 20:52:53 +03:00
parent ce6b96db6e
commit a8788c4d6a

View file

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