mob next [ci-skip] [ci skip] [skip ci]

lastFile:modules/clan/gitea/default.nix
This commit is contained in:
2025-08-07 11:02:18 +07:00
parent 09632425c6
commit 1a3a532a9d
2 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{ ... }:
{
_class = "clan.service";
manifest.name = "gitea";
manifest.description = "Git with a cup of tea!";
manifest.categories = [ "System" ];
roles.default = {
perInstance.nixosModule =
{
config,
lib,
...
}:
{
services.gitea.enable = true;
};
};
}

View File

@@ -0,0 +1,18 @@
{ lib, ... }:
let
module = lib.modules.importApply ./default.nix { };
in
{
clan.modules = {
gitea = module;
};
perSystem =
{ ... }:
{
clan.nixosTests.gitea = {
imports = [ ./tests/vm/default.nix ];
clan.modules."@clan/gitea" = module;
};
};
}