mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03:15 -06:00
18 lines
331 B
Nix
18 lines
331 B
Nix
{
|
|
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 {
|
|
virtualisation.docker.enable = true;
|
|
environment.systemPackages = with pkgs; [
|
|
lazydocker
|
|
];
|
|
};
|
|
}
|