mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 15:59:06 +02:00
15 lines
406 B
Nix
15 lines
406 B
Nix
{ inputs, ... }: {
|
|
flake.lib.mkHost = { system, host, extraModules ? [] }:
|
|
inputs.nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = {
|
|
inherit host system;
|
|
pkgs-unstable = import inputs.nixpkgs-unstable {
|
|
inherit system;
|
|
config.allowUnfree = true;
|
|
};
|
|
};
|
|
modules = [ inputs.self.nixosModules.${host} ] ++ extraModules;
|
|
};
|
|
}
|