diff --git a/hosts/common/configs/system/podman/default.nix b/hosts/common/configs/system/podman/default.nix index 0974d21..6314c6d 100644 --- a/hosts/common/configs/system/podman/default.nix +++ b/hosts/common/configs/system/podman/default.nix @@ -2,6 +2,20 @@ { imports = [ inputs.quadlet-nix.nixosModules.quadlet ]; + # FIXME: https://github.com/containers/crun/pull/1807 + nixpkgs.overlays = [ + (final: prev: { + crun = prev.crun.overrideAttrs (oldAttrs: { + patches = oldAttrs.patches or [ ] ++ [ + (builtins.fetchurl { + url = "https://patch-diff.githubusercontent.com/raw/containers/crun/pull/1807.patch"; + sha256 = "sha256:04s11r4ffjzlxzbwjk2s7vcgykllbmc0jgl0b1va5rxqvxs2c6hb"; + }) + ]; + }); + }) + ]; + virtualisation = { podman.enable = true;