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
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
autoPrune = {
|
||||
enable = true;
|
||||
dates = "daily";
|
||||
};
|
||||
daemon.settings = {
|
||||
"runtimes" = {
|
||||
crun = { path = "${pkgs.crun}/bin/crun"; };
|
||||
};
|
||||
"default-runtime" = "crun";
|
||||
};
|
||||
};
|
||||
|
||||
users.users.gitlab-runner = {
|
||||
|
|
@ -75,6 +85,7 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
docker
|
||||
git
|
||||
crun
|
||||
];
|
||||
systemd.services."enable-linger-gitlab-runner" = {
|
||||
description = "Enable linger for gitlab-runner";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue