liminalOS/modules/linux/distrobox/default.nix

22 lines
357 B
Nix
Raw Normal View History

2024-11-11 14:36:39 -08:00
{
2024-12-23 01:38:04 -08:00
pkgs,
lib,
config,
...
}:
let
cfg = config.liminalOS.extras.distrobox;
in
{
options.liminalOS.extras.distrobox.enable = lib.mkEnableOption "distrobox and podman";
2024-11-11 14:36:39 -08:00
2024-12-23 01:38:04 -08:00
config = lib.mkIf cfg.enable {
virtualisation.podman = {
enable = true;
dockerCompat = true;
};
environment.systemPackages = [ pkgs.distrobox ];
};
2024-11-11 14:36:39 -08:00
}