[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
meld
mpv
unstable.multiviewer-for-f1
unstable.microsoft-edge
nextcloud-client
screen

View File

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