feat(docker): add enable option

This commit is contained in:
2026-05-22 09:51:00 +02:00
parent a74a184035
commit a906b9b89d
2 changed files with 20 additions and 5 deletions

View File

@@ -1,7 +1,21 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
dive
];
config,
lib,
pkgs,
...
}:
let
cfg = config.docker;
in
{
options.docker = {
enable = lib.mkEnableOption "Docker";
};
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
dive
];
};
}