It requires root for nvidia-settings but fails each time I make my own autostart on systemd

  • robzombie91@lemm.ee
    hexagon
    ·
    1 year ago
    [Unit]
    Description=NVIDIA Fan Control on Wayland Arch
    After=graphical-session.target
    
    [Service]
    ExecStart=sudo /home/rob/Documents/fan.sh
    User=root
    
    [Install]
    WantedBy=default.target