17 lines
269 B
Nix
17 lines
269 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|