fix: Correct simple typo in home module

This commit is contained in:
Chris Scutcher
2024-07-26 12:10:06 +01:00
committed by GitHub
parent c6238c83de
commit b5d4366dfd

View File

@@ -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;