25 lines
418 B
Nix
25 lines
418 B
Nix
{
|
|
inputs,
|
|
system,
|
|
username,
|
|
homeDirectory,
|
|
modules ? [ ],
|
|
stateVersion ? "24.11",
|
|
extraSpecialArgs ? { },
|
|
}:
|
|
inputs.home-manager.lib.homeManagerConfiguration {
|
|
pkgs = import inputs.nixpkgs { inherit system; };
|
|
extraSpecialArgs = extraSpecialArgs // {
|
|
inherit inputs;
|
|
};
|
|
|
|
modules = [
|
|
{
|
|
home = {
|
|
inherit homeDirectory stateVersion username;
|
|
};
|
|
}
|
|
]
|
|
++ modules;
|
|
}
|