From 64d93814b9f87e82ba216c4c32ecfebbed4cb86e Mon Sep 17 00:00:00 2001 From: Kenny Ballou Date: Mon, 5 Apr 2021 11:15:05 -0600 Subject: containers: add runtimes configuration Signed-off-by: Kenny Ballou --- services/podman.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/services/podman.nix b/services/podman.nix index 9e875d1..f6a8c49 100644 --- a/services/podman.nix +++ b/services/podman.nix @@ -1,10 +1,19 @@ -{ config, ... }: +{ config, pkgs, ... }: { virtualisation = { podman = { enable = true; dockerCompat = true; }; + containers.containersConf.extraConfig = '' + [engine.runtimes] + runc = [ + "${pkgs.runc}" + ] + crun = [ + "${pkgs.crun}" + ] + ''; oci-containers.backend = "podman"; }; } -- cgit v1.2.1