mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 10:13:14 -06:00
16 lines
233 B
Nix
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 ];
|
|
};
|
|
}
|