From 5a0f94a31395d99cb1595dfccb8b1962315ffaed Mon Sep 17 00:00:00 2001 From: Anders Rytter Hansen Date: Sat, 21 Jun 2025 19:43:11 +0200 Subject: [PATCH] Disable nvidia-powerd to avoid crashing when the system goes into suspension --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 042e2c2..544a0e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \