docker-cli: allow absolute paths for configDir
This commit is contained in:
parent
3233912054
commit
6f35059f9a
1 changed files with 3 additions and 3 deletions
|
|
@ -26,10 +26,10 @@ in
|
|||
|
||||
configDir = mkOption {
|
||||
type = lib.types.str;
|
||||
apply = p: lib.removePrefix "${config.home.homeDirectory}/" p;
|
||||
default = ".docker";
|
||||
description = ''
|
||||
Folder relative to the user's home directory where the Docker CLI settings should be stored.
|
||||
'';
|
||||
example = lib.literalExpression "\${config.xdg.configHome}/docker";
|
||||
description = "Directory to store configuration and state. This also sets $DOCKER_CONFIG.";
|
||||
};
|
||||
|
||||
contexts = mkOption {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue