Disable nvidia-powerd to avoid crashing when the system goes into suspension

This commit is contained in:
Anders Rytter Hansen 2025-06-21 19:43:11 +02:00
commit 5a0f94a313

View file

@ -167,6 +167,8 @@ COPY usr /usr
# Enable /nix mount service
RUN systemctl enable mount-nix-prepare.service
# Disable nvidia-powerd to avoid crashing when the system goes into suspension
RUN systemctl disable nvidia-powerd
# Clear cache, /var and /tmp and commit ostree
RUN rm -rf /tmp/* /var/* && mkdir -p /var/tmp && chmod -R 1777 /var/tmp && \