greenhouse

kore

my public infrastructure monorepo

git clone [email protected]:kore.git

kore / nixos / hosts / default.nix21 lines · 434B · raw

1{ inputs, outputs, lib, ... }:
2
3let
4  mkSystem = system: hostname: lib.nixosSystem {
5    system = system;
6    specialArgs = { inherit inputs outputs; };
7    modules = [
8      ../features/global.nix
9      ../features/kore.nix
10
11      ../roles
12
13      (./. + "/${hostname}.nix")
14
15      { networking.hostName = "${hostname}"; }
16      { system.stateVersion = "25.11"; }
17    ];
18  };
19in {
20  sunflower = mkSystem "x86_64-linux" "sunflower";
21}