···116116 };
117117 };
118118 system = {
119119- mainUser = mkOption {
120120- type = types.str;
121121- description = "The username of the main user for your system";
122122- default = "willow";
119119+ user = {
120120+ name = mkOption {
121121+ type = types.str;
122122+ description = "The username of the main user for your system";
123123+ default = "willow";
124124+ };
125125+ home = mkOption {
126126+ type = types.path;
127127+ description = "The home directory of the main user for your system";
128128+ default = "/home/${cfg.system.user.name}";
129129+ };
130130+ group = mkOption {
131131+ type = types.str;
132132+ description = "The group of the main user for your system";
133133+ default = "users";
134134+ };
123135 };
124136 hostName = mkOption {
125137 type = types.str;