xdg: Only create needed dirs
This commit is contained in:
parent
ea1c390bc0
commit
91e71bec07
2 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ in
|
|||
};
|
||||
xdgUserDirVariable = lib.mkOption {
|
||||
type = lib.types.nullOr lib.types.str;
|
||||
default = "XDG_${lib.strings.toUpper name}_DIR";
|
||||
default = if config.enable then "XDG_${lib.strings.toUpper name}_DIR" else null;
|
||||
description = "Name for the XDG user dir variable. If set, will automatically create the directory.";
|
||||
};
|
||||
syncthing = lib.mkOption {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue