43 lines
993 B
Nix
43 lines
993 B
Nix
{
|
|
description = "Clan services for use with 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";
|
|
};
|
|
|
|
systems = {
|
|
url = "github:nix-systems/default";
|
|
};
|
|
};
|
|
|
|
outputs =
|
|
inputs@{ flake-parts, clan-core, systems, ... }:
|
|
flake-parts.lib.mkFlake { inherit inputs; } ({ ... }: {
|
|
systems = import systems;
|
|
|
|
imports = [
|
|
flake-parts.flakeModules.modules
|
|
clan-core.flakeModules.default
|
|
clan-core.flakeModules.testModule
|
|
|
|
./devShells/flake-module.nix
|
|
./clanServices/flake-module.nix
|
|
];
|
|
|
|
flake = {
|
|
modules = {};
|
|
};
|
|
|
|
clan = import ./clan.nix;
|
|
});
|
|
}
|