52 lines
1.3 KiB
Nix
52 lines
1.3 KiB
Nix
{
|
|
description = "Clan flake for controlling NewEdge infrastructure.";
|
|
inputs = {
|
|
clan-core = {
|
|
url = "git+https://git.clan.lol/clan/clan-core";
|
|
inputs.flake-parts.follows = "flake-parts";
|
|
inputs.treefmt-nix.follows = "treefmt-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
devshell = {
|
|
url = "github:numtide/devshell";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
flake-parts = {
|
|
inputs.nixpkgs-lib.follows = "nixpkgs";
|
|
url = "github:hercules-ci/flake-parts";
|
|
};
|
|
import-tree.url = "github:vic/import-tree";
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
|
treefmt-nix = {
|
|
url = "github:numtide/treefmt-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
liminix = {
|
|
url = "git+https://git.b4l.co.th/newedge/liminix?ref=refs/heads/fix-gl-ar750&rev=3f1f7c08d440130cce9262a93ce78ed7969d93cd";
|
|
flake = false;
|
|
};
|
|
};
|
|
outputs =
|
|
{
|
|
flake-parts,
|
|
...
|
|
}@inputs:
|
|
flake-parts.lib.mkFlake { inherit inputs; } (
|
|
{ ... }:
|
|
{
|
|
systems = [
|
|
"x86_64-linux"
|
|
];
|
|
imports = [
|
|
./fmt.nix
|
|
./shell.nix
|
|
|
|
./machines
|
|
./routers
|
|
./inventories
|
|
./modules/clan/flake-module.nix
|
|
];
|
|
}
|
|
);
|
|
}
|