feat: rework to modular
This commit is contained in:
24
systems/linux/default.nix
Normal file
24
systems/linux/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user