From b5d4366dfdb2aa695b908fc0cf993d45c3510bfd Mon Sep 17 00:00:00 2001 From: Chris Scutcher Date: Fri, 26 Jul 2024 12:10:06 +0100 Subject: [PATCH] fix: Correct simple typo in home module --- modules/home/user/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;