Add initial gitea module

This commit is contained in:
Erwin Boskma 2022-04-22 00:16:49 +02:00
parent 290fdd7c0f
commit b28454e611
Signed by: erwin
GPG key ID: 270B20D17394F7E5

14
modules/gitea/default.nix Normal file
View file

@ -0,0 +1,14 @@
{ pkgs, config, lib, ...}:
with lib;
let
cfg = config.eboskma.gitea;
in
{
options.eboskma.gitea = { enable = mkEnableOption "gitea"; };
config = mkIf (cfg.enable) {
services.gitea = {
enable = true;
};
};
}