{ flake, userName, lib, ... }: { users.users.${userName} = {}; # Just make sure the user is created home-manager.users.${userName} = { imports = lib.attrValues flake.homeModules; config = { manual.manpages.enable = true; }; }; }