gnu: Add bbswitch-module.

* gnu/packages/linux.scm (bbswitch-module): New variable.
This commit is contained in:
Pierre Neidhardt 2020-06-11 22:23:59 +02:00
parent 4fdf3a2e6e
commit cc62eab163
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F

View file

@ -1087,6 +1087,29 @@ (define-public vhba-module
between the CDemu userspace daemon and linux kernel.")
(license license:gpl2+)))
(define-public bbswitch-module
(package
(name "bbswitch-module")
(version "0.8")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Bumblebee-Project/bbswitch")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1glch4j0x1dzlp2yrb67v2r5jg9609jb6p8m251y78m74advqw0l"))))
(build-system linux-module-build-system)
(arguments
;; No tests.
`(#:tests? #f))
(home-page "https://github.com/Bumblebee-Project/bbswitch")
(synopsis "Kernel module that disables discrete Nvidia graphics cards")
(description "The bbswitch module provides a way to toggle the Nvidia
graphics card on Optimus laptops.")
(license license:gpl2)))
(define-public ddcci-driver-linux
(package
(name "ddcci-driver-linux")