diff options
| author | Hilton Chain <hako@ultrarare.space> | 2026-04-09 15:44:41 +0800 |
|---|---|---|
| committer | Hilton Chain <hako@ultrarare.space> | 2026-04-12 23:56:03 +0800 |
| commit | f17e415fdfb092f4f89abfac13c403dec98ea926 (patch) | |
| tree | 68564bc22f4b93ee695f059fc78c06e2f1fc0738 /nonguix | |
| parent | 58558a5e733e02cb03be1864a91d6ac9caa2215c (diff) | |
transformations: nvidia: Add #:dynamic-boost? argument.
* nonguix/transformations.scm (nonguix-transformation-nvidia):
Add #:dynamic-boost? argument.
* README.org (Configure operating system for NVIDIA proprietary driver):
Update docstring.
* NEWS (NVIDIA: New #:dynamic-boost? option in nonguix-transformation-nvidia):
New entry.
Diffstat (limited to 'nonguix')
| -rw-r--r-- | nonguix/transformations.scm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/nonguix/transformations.scm b/nonguix/transformations.scm index ba05ccb..c0470ac 100644 --- a/nonguix/transformations.scm +++ b/nonguix/transformations.scm @@ -107,6 +107,7 @@ and INITRD (default: microcode-initrd)." (open-source-kernel-module? #f) (kernel-mode-setting? #t) (configure-xorg? #f) + (dynamic-boost? #f) (remove-nvenc-restriction? #f) ;; Deprecated. (s0ix-power-management? #f)) @@ -122,6 +123,8 @@ support. CONFIGURE-XORG? (default: #f) is required for Xorg display managers. It accepts a display manager service type, or #t when using '%desktop-services'. +DYNAMIC-BOOST? (default: #f) is supported on laptops since Ampere. + REMOVE-NVENC-RESTRICTION? (default: #f) applies patches from <https://github.com/keylase/nvidia-patch>." @@ -256,11 +259,9 @@ REMOVE-NVENC-RESTRICTION? (default: #f) applies patches from driver))) (define %dynamic-boost? - (not (assoc-ref - ;; Unsupported in these series. - `((,nvda-470 . #t) - (,nvda-390 . #t)) - driver))) + (and dynamic-boost? + ;; Unsupported in these series. + (not (member driver (list nvda-470 nvda-390))))) (define %xorg-extension (and=> configure-xorg? |
