1
0
Fork 0
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:
Robert Helgesson 2020-09-02 22:37:21 +02:00
parent 0399839271
commit e6e49ad73c
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -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.";
}; };