cruntime
This commit is contained in:
parent
7a09bf38af
commit
7e84bd2aa8
1 changed files with 11 additions and 0 deletions
|
|
@ -60,6 +60,16 @@
|
||||||
# Docker daemon inside the container
|
# Docker daemon inside the container
|
||||||
virtualisation.docker = {
|
virtualisation.docker = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
autoPrune = {
|
||||||
|
enable = true;
|
||||||
|
dates = "daily";
|
||||||
|
};
|
||||||
|
daemon.settings = {
|
||||||
|
"runtimes" = {
|
||||||
|
crun = { path = "${pkgs.crun}/bin/crun"; };
|
||||||
|
};
|
||||||
|
"default-runtime" = "crun";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.gitlab-runner = {
|
users.users.gitlab-runner = {
|
||||||
|
|
@ -75,6 +85,7 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
docker
|
docker
|
||||||
git
|
git
|
||||||
|
crun
|
||||||
];
|
];
|
||||||
systemd.services."enable-linger-gitlab-runner" = {
|
systemd.services."enable-linger-gitlab-runner" = {
|
||||||
description = "Enable linger for gitlab-runner";
|
description = "Enable linger for gitlab-runner";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue