1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-27 17:08:31 +02:00

home-environment: make username and home directory writable

In certain cases it makes sense to override the target username and
home directory. In particular, if you're building a configuration for
a remote profile.
This commit is contained in:
Robert Helgesson 2017-12-13 16:31:35 +01:00
parent 8d360c5a57
commit e75b68e391
No known key found for this signature in database
GPG Key ID: C3DB11069E65DC86

View File

@ -99,15 +99,13 @@ in
home.username = mkOption {
type = types.str;
defaultText = "$USER";
readOnly = true;
description = "The user's username";
description = "The user's username.";
};
home.homeDirectory = mkOption {
type = types.path;
defaultText = "$HOME";
readOnly = true;
description = "The user's home directory";
description = "The user's home directory.";
};
home.language = mkOption {