diff options
-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"; }; } |