home-environment: coerce home.homeDirectory
to string
The home directory option should be a string without context to avoid the directory being copied to the Nix store. Fixes #1471
This commit is contained in:
parent
0399839271
commit
e6e49ad73c
|
@ -196,6 +196,7 @@ in
|
||||||
"$HOME" for state version < 20.09,
|
"$HOME" for state version < 20.09,
|
||||||
undefined for state version ≥ 20.09
|
undefined for state version ≥ 20.09
|
||||||
'';
|
'';
|
||||||
|
apply = toString;
|
||||||
example = "/home/jane.doe";
|
example = "/home/jane.doe";
|
||||||
description = "The user's home directory. Must be an absolute path.";
|
description = "The user's home directory. Must be an absolute path.";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue