mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 19:49:45 +01:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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