2024-10-11 23:27:07 +03:00
|
|
|
{
|
2024-11-04 04:37:29 +03:00
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
cfg = config.module.distrobox;
|
|
|
|
in {
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
# Distrobox works best with Podman, so enable it here.
|
|
|
|
module.podman.enable = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
distrobox
|
|
|
|
];
|
|
|
|
};
|
2024-03-04 00:34:39 +03:00
|
|
|
}
|