[systems] disable nvidia from phaedra - added condition

This commit is contained in:
Simon Cornet 2024-03-26 21:24:42 +01:00
parent 55c8a0273f
commit 47bdac4aa8
2 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,7 @@
kitty kitty
meld meld
mpv mpv
unstable.multiviewer-for-f1
unstable.microsoft-edge unstable.microsoft-edge
nextcloud-client nextcloud-client
screen screen

View File

@ -36,6 +36,7 @@
# disable nvidia! # disable nvidia!
systemd.services.removeNvidia = { systemd.services.removeNvidia = {
unitConfig.ConditionPathExists = "/sys/bus/pci/devices/0000:01:00.0/remove";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
description = "Remove NVIDIA upon boot"; description = "Remove NVIDIA upon boot";
serviceConfig = { serviceConfig = {