oizys/modules/virtualization/docker.nix

19 lines
319 B
Nix
Raw Normal View History

2024-03-19 07:31:31 -05:00
{pkgs,
config,
lib,
...
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.oizys.docker;
in {
options.oizys.docker.enable = mkEnableOption "enable docker support";
config = mkIf cfg.enable {
2024-01-23 11:51:13 -06:00
virtualisation.docker.enable = true;
environment.systemPackages = with pkgs; [
lazydocker
];
2024-03-19 07:31:31 -05:00
};
2024-01-23 11:51:13 -06:00
}