linted
This commit is contained in:
atagen 2025-02-02 16:57:31 +11:00
parent 4e99a0e323
commit 7485de646a
95 changed files with 2743 additions and 2282 deletions

View file

@ -3,16 +3,19 @@
home-manager,
system,
inputs,
outputs,
self,
sharedModules,
...
}: {
systems = definitions:
nixpkgs.lib.mapAttrs (name: info:
}:
{
systems =
definitions:
nixpkgs.lib.mapAttrs (
name: info:
nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit inputs outputs;
inherit inputs self;
mainUser = info.user;
};
modules =
@ -23,18 +26,17 @@
home-manager = {
useGlobalPkgs = true;
extraSpecialArgs = {
inherit inputs outputs;
inherit inputs self;
mainUser = info.user;
};
users.${info.user}.imports =
[
../home/${info.user}.nix
]
++ info.hmImports or [];
users.${info.user}.imports = [
../home/${info.user}.nix
] ++ info.hmImports or [ ];
};
}
]
++ info.imports or []
++ info.imports or [ ]
++ sharedModules;
}) definitions;
}
) definitions;
}