mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 23:59:07 +02:00
11 lines
282 B
Nix
11 lines
282 B
Nix
{ inputs, ... }: {
|
|
flake.lib.mkHost = { system, host, extraModules ? [] }:
|
|
inputs.nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = {
|
|
inherit inputs host system;
|
|
};
|
|
modules = [ inputs.self.nixosModules.${host} ] ++ extraModules;
|
|
};
|
|
}
|