24 lines
504 B
Nix
24 lines
504 B
Nix
{ self, nixpkgs, ... }: { systemSettings, userSettings, ... }:
|
|
let
|
|
inherit (self) inputs;
|
|
inherit systemSettings userSettings;
|
|
mkHost = name:
|
|
nixpkgs.lib.nixosSystem {
|
|
modules = [
|
|
./${name}
|
|
{
|
|
nixpkgs.hostPlatform = systemSettings.system;
|
|
}
|
|
] ++ builtins.attrValues self.nixosModules;
|
|
|
|
specialArgs = {
|
|
inherit inputs;
|
|
inherit systemSettings;
|
|
inherit userSettings;
|
|
};
|
|
};
|
|
in
|
|
{
|
|
syushiki = mkHost "syushiki";
|
|
}
|