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

@@ -81,6 +81,7 @@
git.github.enable = true;
git.gitlab.enable = true;
secrets.vault.enable = true;
docker.enable = true;
go.enable = true;
ticketing.enable = true;

View File

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