diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-11-21 17:16:22 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-11-21 17:29:26 +0300 |
commit | 44808cac65a8b323549fdbf3f1ca35c0bf746fe8 (patch) | |
tree | e61d552be5d6171a5d52f9f8f7d4455f862091a6 /nixos/modules/hardware | |
parent | cb8af0ca51979a524a0fcce15c2e21f1e9e4c53e (diff) |
bumblebee service: fix service dependencies
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r-- | nixos/modules/hardware/video/bumblebee.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/hardware/video/bumblebee.nix b/nixos/modules/hardware/video/bumblebee.nix index 76d122ab21240..8b40e22d676b0 100644 --- a/nixos/modules/hardware/video/bumblebee.nix +++ b/nixos/modules/hardware/video/bumblebee.nix @@ -70,8 +70,8 @@ in systemd.services.bumblebeed = { description = "Bumblebee Hybrid Graphics Switcher"; - wantedBy = [ "display-manager.service" ]; - path = [ kernel.bbswitch bumblebee ]; + wantedBy = [ "multi-user.target" ]; + before = [ "display-manager.service" ]; serviceConfig = { ExecStart = "${bumblebee}/bin/bumblebeed --use-syslog -g ${cfg.group} --driver ${cfg.driver}"; }; |