mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-02 09:52:18 +00:00
29327d64dd
* fix(nvidia): Automatically pull necessary 32-bit deps
* feat: Fallback service and more
(cherry picked from commit 90e3fe5d62)
Co-authored-by: Gilver <rockgrub@disroot.org>
18 lines
427 B
Desktop File
18 lines
427 B
Desktop File
[Unit]
|
|
Description=Fallback to nouveau as nvidia did not load
|
|
After=akmods.service
|
|
Before=display-manager.service
|
|
ConditionKernelCommandLine=rd.driver.blacklist=nouveau
|
|
ConditionPathExists=!/sys/module/nvidia
|
|
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=-/sbin/modprobe nouveau
|
|
ExecStartPost=-/bin/plymouth message --text="NVIDIA kernel module missing. Falling back to Nouveau."
|
|
|
|
|
|
[Install]
|
|
WantedBy=graphical.target
|