feat: rework to modular

This commit is contained in:
eric
2026-04-10 17:25:08 +02:00
parent 28dad81816
commit 99658b27dc
39 changed files with 738 additions and 211 deletions

24
systems/linux/default.nix Normal file
View 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;
}