diff options
author | Kenny Ballou <kb@devnulllabs.io> | 2021-04-05 11:15:05 -0600 |
---|---|---|
committer | Kenny Ballou <kb@devnulllabs.io> | 2021-04-05 11:15:05 -0600 |
commit | 64d93814b9f87e82ba216c4c32ecfebbed4cb86e (patch) | |
tree | be10519e9518055a9c7e3138fce3ca668a9c976f | |
parent | 78e71a45155bc6cbf42017ade09c76980d8522bb (diff) | |
download | cfg.nix-64d93814b9f87e82ba216c4c32ecfebbed4cb86e.tar.gz cfg.nix-64d93814b9f87e82ba216c4c32ecfebbed4cb86e.tar.xz |
containers: add runtimes configuration
Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
-rw-r--r-- | services/podman.nix | 11 |
1 files changed, 10 insertions, 1 deletions
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"; }; } |