mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
27 lines
452 B
Nix
27 lines
452 B
Nix
{
|
|
inputs,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkForce;
|
|
in {
|
|
arch = "x86_64";
|
|
type = "NixOS";
|
|
access.online.enable = false;
|
|
exports.defaultServices = false;
|
|
modules = mkForce [
|
|
./nixos.nix
|
|
];
|
|
builder = mkForce ({
|
|
modules,
|
|
system,
|
|
specialArgs,
|
|
...
|
|
}:
|
|
inputs.nixpkgs.lib.nixosSystem {
|
|
inherit modules system;
|
|
specialArgs = {
|
|
extern'test'inputs = specialArgs.inputs;
|
|
};
|
|
});
|
|
}
|