nix/module/Distrobox.nix

21 lines
344 B
Nix
Raw Normal View History

{
2024-11-04 04:37:29 +03:00
config,
lib,
pkgs,
...
}: let
cfg = config.module.distrobox;
in {
options.module.distrobox = {
enable = lib.mkEnableOption "the distrobox.";
};
2024-06-25 04:04:39 +03:00
2024-11-04 04:37:29 +03:00
config = lib.mkIf cfg.enable {
# Distrobox works best with Podman, so enable it here.
module.podman.enable = true;
environment.systemPackages = with pkgs; [
distrobox
];
};
}