61 lines
1.4 KiB
Nix
61 lines
1.4 KiB
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";
|
|
};
|
|
|
|
amarth-customer-portal = {
|
|
url = "git+https://git.amarth.cloud/amarth/customer-portal";
|
|
};
|
|
|
|
systems = {
|
|
url = "github:nix-systems/default";
|
|
};
|
|
|
|
terranix = {
|
|
url = "github:terranix/terranix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
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
|
|
|
|
# ./checks/flake-module.nix
|
|
./clanServices/flake-module.nix
|
|
./devShells/flake-module.nix
|
|
./pkgs/flake-module.nix
|
|
];
|
|
|
|
flake = {
|
|
modules = {};
|
|
};
|
|
|
|
clan = import ./clan.nix;
|
|
|
|
perSystem = { ... }: {
|
|
# security.acme = {
|
|
# acceptTerms = true;
|
|
# defaults.email = "kaas@kaas.kaas";
|
|
# };
|
|
};
|
|
});
|
|
}
|