LucidPlan LoginProjects

Nvidia Proprietary Drivers on a per-host basis

status

todo

type

task

descriptionIn your per-host.scm you can specify a list of strings, which represent packages you want to install for current host only, on top of SSS. This is good specially for device-specific drivers. e.g.
;; Per host packages
(define sss-per-host-packages
  ( ;AMD non-free drivers
     amd-microcode amdgpu-firmware
    ))
I dont think that will be enough for nvidia drivers though. It takes a lot of hoops to jump through to install nvidia-drivers! https://wiki.systemcrafters.net/guix/nvidia/ You could start by adding a per-host.scm and sss-defaults.scm variable, e.g. sss-is-nvidia that is by default #f and for you will be #t, then hack directly into config.scm and wherever needed, by adding some cond statements, and conditionally applying the guide of system crafter

human idsss-3id8671dc2e-0acb-401c-948c-7f883e83d301