diff options
Diffstat (limited to 'px/hardware/lenovo.scm')
-rw-r--r-- | px/hardware/lenovo.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/px/hardware/lenovo.scm b/px/hardware/lenovo.scm new file mode 100644 index 0000000..89a670a --- /dev/null +++ b/px/hardware/lenovo.scm @@ -0,0 +1,32 @@ +(define-module (px hardware lenovo) + #:use-module (gnu services sddm) + #:use-module (gnu services xorg) + #:use-module (nongnu packages linux) + #:use-module (px system os) + #:use-module (px packages throttled) + #:use-module (px system config) + #:export (%lenovo-thinkpad-t450-template)) + +(define %lenovo-thinkpad-t450-template + (os-template + (title "Lenovo ThinkPad T450 hardware") + (firmwares (list iwlwifi-firmware)) + (packages (list throttled)) + (services (list + (os-template-service + (type 'edit) + (kind sddm-service-type) + (action (lambda (config) + (sddm-configuration + (inherit config) + (xorg-configuration + (xorg-configuration + (extra-config + `( "Section \"InputClass\"\n" + " Identifier \"touchpad\"\n" + " Driver \"libinput\"\n" + " MatchIsTouchpad \"on\"\n" + " Option \"Tapping\" \"on\"\n" + "EndSection\n" + "\n"))))) + ))))))) |