oizys/modules/virtualization/docker.nix

17 lines
233 B
Nix
Raw Normal View History

2024-03-19 08:56:51 -05:00
{
pkgs,
2024-03-19 07:31:31 -05:00
config,
2024-07-03 10:52:28 -05:00
lib,
2024-03-19 07:31:31 -05:00
...
2024-03-21 15:59:10 -05:00
}:
2024-07-03 10:52:28 -05:00
let
inherit (lib) mkIf;
cfg = config.oizys.docker;
in
{
config = mkIf cfg.enable {
virtualisation.docker.enable = true;
environment.systemPackages = with pkgs; [ lazydocker ];
};
2024-03-21 15:59:10 -05:00
}