oizys/modules/virtualization/docker.nix
2024-07-03 10:53:16 -05:00

16 lines
233 B
Nix

{
pkgs,
config,
lib,
...
}:
let
inherit (lib) mkIf;
cfg = config.oizys.docker;
in
{
config = mkIf cfg.enable {
virtualisation.docker.enable = true;
environment.systemPackages = with pkgs; [ lazydocker ];
};
}