wonderwall
This commit is contained in:
parent
523db62b8d
commit
0875ebe6dd
1 changed files with 8 additions and 10 deletions
|
|
@ -88,6 +88,14 @@
|
|||
enable = true;
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
virtualisation.containers.storage.settings = {
|
||||
storage = {
|
||||
driver = "overlay";
|
||||
};
|
||||
"storage.options" = {
|
||||
mount_program = "${pkgs.fuse-overlayfs}/bin/fuse-overlayfs";
|
||||
};
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
podman
|
||||
fuse-overlayfs
|
||||
|
|
@ -160,16 +168,6 @@
|
|||
systemd.oomd.enable = false; # avoids noise in small containers
|
||||
services.dbus.enable = true;
|
||||
|
||||
# Storage tuning for rootless overlay
|
||||
environment.etc."containers/storage.conf".text = ''
|
||||
[storage]
|
||||
driver = "overlay"
|
||||
runroot = "/run/user/1000/containers" # will be per-user anyway
|
||||
graphroot = "/var/lib/gitlab-runner/.local/share/containers/storage"
|
||||
[storage.options]
|
||||
mount_program = "${pkgs.fuse-overlayfs}/bin/fuse-overlayfs"
|
||||
additionalimagestores = []
|
||||
'';
|
||||
}; # end containers.gitlab-runner.config
|
||||
}; # end containers.gitlab-runner
|
||||
} # end file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue