working updates

This commit is contained in:
John Lancaster
2025-06-30 15:00:44 -05:00
parent 3ece748116
commit cb0d4e7713

View File

@@ -22,7 +22,6 @@
options.user = lib.mkOption { options.user = lib.mkOption {
type = lib.types.str; type = lib.types.str;
description = "The username for the Home Manager configuration."; description = "The username for the Home Manager configuration.";
# default = "john";
}; };
}; };
@@ -49,16 +48,18 @@
# Export the function so other flakes can create configurations for any user # Export the function so other flakes can create configurations for any user
lib = { lib = {
mkHomeConfiguration = mkHomeConfiguration; mkHomeConfiguration = username: mkHomeConfiguration username;
mkHomeConfigurationForUser = username: mkHomeConfiguration username;
}; };
# Export modules for reuse in other flakes # Export modules for reuse in other flakes
homeManagerModules = { homeManagerModules = {
default = { ... }: { default = ./home.nix;
inherit pkgs; options-module = optionsModule;
modules = [ ./home.nix optionsModule ]; };
};
# Export packages if you have any custom ones
packages.${system} = {
# Add any custom packages here
}; };
}; };
} }