inconcievable

This commit is contained in:
alisceon 2025-09-29 18:10:56 +02:00
parent 644e3f68a3
commit 630ba13743

View file

@ -50,14 +50,6 @@
hostPath = "/var/lib/gitlab-runner"; hostPath = "/var/lib/gitlab-runner";
isReadOnly = false; isReadOnly = false;
}; };
"/var/lib/gitlab-runner/builds" = {
hostPath = "/var/lib/gitlab-runner/builds";
isReadOnly = false;
};
"/var/lib/gitlab-runner/cache" = {
hostPath = "/var/lib/gitlab-runner/cache";
isReadOnly = false;
};
}; };
# Guest (inside the nspawn container) # Guest (inside the nspawn container)
@ -103,7 +95,10 @@
StateDirectory = lib.mkForce ""; StateDirectory = lib.mkForce "";
LogsDirectory = lib.mkForce ""; LogsDirectory = lib.mkForce "";
CacheDirectory = lib.mkForce ""; CacheDirectory = lib.mkForce "";
RuntimeDirectory = lib.mkForce ""; # optional, keeps things simple RuntimeDirectory = lib.mkForce "";
ProtectSystem = lib.mkForce "no";
ProtectHome = lib.mkForce "no";
ReadWritePaths = [ "/var/lib/gitlab-runner" ];
}; };
# Basics # Basics
systemd.oomd.enable = false; systemd.oomd.enable = false;