diff options
author | Jeff Slight <jslight90@gmail.com> | 2018-10-24 10:38:56 -0700 |
---|---|---|
committer | Jeff Slight <jslight90@gmail.com> | 2018-10-24 10:38:56 -0700 |
commit | d7fcd1dcbfa8e39bb067e7232de4ef3ed82cae54 (patch) | |
tree | 72dc139ca6555be3d41bab14f629feea2cb2a13c /nixos/modules/config/users-groups.nix | |
parent | ddebab3575e8bd95b23b744156c7f6ab23b563f1 (diff) |
nixos/users: fix users home directory with isNormalUser
Diffstat (limited to 'nixos/modules/config/users-groups.nix')
-rw-r--r-- | nixos/modules/config/users-groups.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix index 426e1666a814..137ee243813d 100644 --- a/nixos/modules/config/users-groups.nix +++ b/nixos/modules/config/users-groups.nix @@ -266,7 +266,7 @@ let (mkIf config.isNormalUser { group = mkDefault "users"; createHome = mkDefault true; - home = mkDefault "/home/${name}"; + home = mkDefault "/home/${config.name}"; useDefaultShell = mkDefault true; isSystemUser = mkDefault false; }) |