mirror of
https://github.com/nix-community/home-manager
synced 2024-12-24 02:39:48 +01: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:
parent
8d360c5a57
commit
e75b68e391
1 changed files with 2 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue