ooknet/outputs/nixos.nix
ooks-io 19a4bbda3c flake: add builder lib & formatter
flake: add builder lib & formatter

flake: add builder lib & formatter

flake: add builder lib & formatter
2024-10-20 13:55:22 +13:00

48 lines
961 B
Nix

{
self,
withSystem,
ooknet,
...
}: let
inherit (ooknet.lib.builders) mkServer mkWorkstation;
in {
flake.nixosConfigurations = {
ooksdesk = mkWorkstation {
inherit withSystem;
hostname = "ooksdesk";
system = "x86_64-linux";
type = "desktop";
};
ookst480s = mkWorkstation {
inherit withSystem;
system = "x86_64-linux";
hostname = "ookst480s";
type = "laptop";
};
ooksmedia = mkWorkstation {
inherit withSystem;
system = "x86_64-linux";
hostname = "ooksmedia";
type = "desktop";
};
ooksmicro = mkWorkstation {
inherit withSystem;
system = "x86_64-linux";
hostname = "ooksmicro";
};
ooksx1 = mkWorkstation {
inherit withSystem;
system = "x86_64-linux";
hostname = "ooksx1";
};
ooknode = mkServer {
inherit withSystem;
system = "x86_64-linux";
hostname = "ooknode";
};
};
}