From e75b68e39195bda85ccb88541b89b4d75f86631a Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Wed, 13 Dec 2017 16:31:35 +0100 Subject: [PATCH] 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. --- modules/home-environment.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/home-environment.nix b/modules/home-environment.nix index 8ed7662c9..24f40c74e 100644 --- a/modules/home-environment.nix +++ b/modules/home-environment.nix @@ -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 {