mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 07:04:17 +00:00
accounts.email: add clarifying documentation
Add clarifying documentation for maildirBasePath value. Also improve default text.
This commit is contained in:
parent
2cacdd6a27
commit
a7117efb37
1 changed files with 4 additions and 3 deletions
|
@ -493,13 +493,14 @@ in {
|
|||
maildirBasePath = mkOption {
|
||||
type = types.str;
|
||||
default = "${config.home.homeDirectory}/Maildir";
|
||||
defaultText = "$HOME/Maildir";
|
||||
defaultText = "Maildir";
|
||||
apply = p:
|
||||
if hasPrefix "/" p then p else "${config.home.homeDirectory}/${p}";
|
||||
description = ''
|
||||
The base directory for account maildir directories. May be a
|
||||
relative path, in which case it is relative the home
|
||||
directory.
|
||||
relative path (e.g. the user setting this value as "MyMaildir"),
|
||||
in which case it is relative the home directory (e.g. resulting
|
||||
in "~/MyMaildir").
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue