1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-30 02:18:32 +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 { home.username = mkOption {
type = types.str; type = types.str;
defaultText = "$USER"; defaultText = "$USER";
readOnly = true; description = "The user's username.";
description = "The user's username";
}; };
home.homeDirectory = mkOption { home.homeDirectory = mkOption {
type = types.path; type = types.path;
defaultText = "$HOME"; defaultText = "$HOME";
readOnly = true; description = "The user's home directory.";
description = "The user's home directory";
}; };
home.language = mkOption { home.language = mkOption {