diff --git a/modules/home/user/default.nix b/modules/home/user/default.nix index 4f04b62..49332fd 100644 --- a/modules/home/user/default.nix +++ b/modules/home/user/default.nix @@ -11,7 +11,7 @@ inputs @ { # NOTE: The module system chokes if it finds `osConfig` named in the module arguments # when being used in standalone home-manager. To remedy this, we have to refer to the arguments set directly. - os-user-home = inputs.osConfig.users.users.${cfg.name}.home or null; + os-user-home = inputs.osConfig.users.users.${cfg.user.name}.home or null; has-user-name = (cfg.user.name or null) != null;