Skip to content

Commit 4af3f8e

Browse files
committed
fix(podman): add usr extra packages
1 parent 18ee297 commit 4af3f8e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

modules/podman.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
};
1616
registries.search = [ "docker.io" ];
1717
};
18-
virtualisation.podman.enable = true;
18+
virtualisation.podman = {
19+
enable = true;
20+
# Use the host's /usr/bin for setuid binaries like newuidmap/newgidmap
21+
package = pkgs.podman.override { extraPackages = [ "/usr" ]; };
22+
};
1923
environment.systemPackages = with pkgs; [ podman-compose ];
2024
}

0 commit comments

Comments
 (0)