infra/flake.nix
2025-09-22 06:45:38 +00:00

43 lines
969 B
Nix

{
description = "Infrastructure of Amarth Cloud";
inputs = {
nixpkgs = {
url = "github:NixOS/nixpkgs?ref=nixos-unstable";
};
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
clan-core = {
url = "https://git.clan.lol/clan/clan-core/archive/main.tar.gz";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts";
};
amarth-services = {
url = "git+https://git.amarth.cloud/amarth/services";
};
systems = {
url = "github:nix-systems/default";
};
};
outputs =
inputs@{ flake-parts, self, clan-core, systems, ... }:
flake-parts.lib.mkFlake { inherit inputs; } ({ ... }: {
systems = import systems;
imports = [
flake-parts.flakeModules.modules
clan-core.flakeModules.default
./devShells/flake-module.nix
];
clan = import ./clan.nix;
});
}