nix-config/modules/containers/default.nix
2025-02-28 19:32:44 +01:00

17 lines
263 B
Nix

{
lib,
config,
pkgs,
...
}: let
inherit (lib) mkIf;
inherit (config) conf;
in
mkIf conf.containers.enable {
virtualisation.podman = {
enable = true;
dockerCompat = true;
};
environment.systemPackages = [pkgs.distrobox];
}