57 lines
1.2 KiB
Nix
57 lines
1.2 KiB
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
attrs,
|
|
system,
|
|
...
|
|
}:
|
|
let
|
|
defaultModules = [
|
|
./configuration.nix
|
|
inputs.sops-nix.nixosModules.sops
|
|
inputs.nix-index-database.nixosModules.nix-index
|
|
inputs.determinate.nixosModules.default
|
|
];
|
|
in
|
|
{
|
|
t14 = inputs.nixpkgs.lib.nixosSystem {
|
|
inherit pkgs;
|
|
specialArgs = {
|
|
inherit inputs system attrs;
|
|
host = {
|
|
hostName = "t14";
|
|
inherit (attrs) username;
|
|
};
|
|
};
|
|
modules = defaultModules ++ [
|
|
./t14/configuration.nix
|
|
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t14-amd-gen1
|
|
];
|
|
};
|
|
consensus = inputs.nixpkgs.lib.nixosSystem {
|
|
inherit pkgs;
|
|
specialArgs = {
|
|
inherit inputs system attrs;
|
|
host = {
|
|
hostName = "consensus";
|
|
inherit (attrs) username;
|
|
};
|
|
};
|
|
modules = defaultModules ++ [
|
|
./consensus/configuration.nix
|
|
];
|
|
};
|
|
oracle = inputs.nixpkgs.lib.nixosSystem {
|
|
inherit pkgs;
|
|
specialArgs = {
|
|
inherit inputs system attrs;
|
|
host = {
|
|
hostName = "oracle1";
|
|
inherit (attrs) username;
|
|
};
|
|
};
|
|
modules = defaultModules ++ [
|
|
./oracle/configuration.nix
|
|
];
|
|
};
|
|
}
|