This commit is contained in:
@@ -28,8 +28,10 @@ in
|
||||
my.dev.docker.enable = lib.mkDefault hm.enabledByDefault;
|
||||
}
|
||||
(lib.mkIf cfg.enable {
|
||||
home.packages = feature.packages;
|
||||
home.sessionVariables.DOCKER_CONFIG = "${config.xdg.configHome}/docker";
|
||||
home = {
|
||||
inherit (feature) packages;
|
||||
sessionVariables.DOCKER_CONFIG = "${config.xdg.configHome}/docker";
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
||||
|
||||
@@ -10,6 +10,11 @@ let
|
||||
in
|
||||
{
|
||||
options = {
|
||||
devShells.docker = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
default = feature.devShell;
|
||||
description = "Docker and Dockerfile tooling shell";
|
||||
};
|
||||
my.dev.docker = {
|
||||
enable = lib.mkEnableOption "Install Docker tooling globally";
|
||||
users = lib.mkOption {
|
||||
@@ -18,10 +23,5 @@ in
|
||||
description = "Users to install Docker packages for";
|
||||
};
|
||||
};
|
||||
devShells.docker = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
default = feature.devShell;
|
||||
description = "Docker and Dockerfile tooling shell";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user