services/flake.nix
Chris Kruining 5525d770f1
.
2025-09-15 16:37:01 +02:00

27 lines
No EOL
679 B
Nix

{
description = "Amarth Cloud's Clan services";
inputs = {
clan-core.url = "https://git.clan.lol/clan/clan-core/archive/main.tar.gz";
nixpkgs.follows = "clan-core/nixpkgs";
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
};
outputs = inputs@{ flake-parts, clan-core, systems, ... }: flake-parts.lib.mkFlake { inherit inputs; } ({ self, lib, ... }: {
imports = [
clan-core.flakeModules.default
./clanServices/flake-module.nix
];
clan.modules = {
"@amarth/k3s" = lib.importApply ./clanServices/k3s/default.nix {};
};
systems = import systems;
});
}