mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +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 {
|
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 {
|
||||||
|
|
Loading…
Reference in a new issue