Add initial gitea module
This commit is contained in:
parent
290fdd7c0f
commit
b28454e611
1 changed files with 14 additions and 0 deletions
14
modules/gitea/default.nix
Normal file
14
modules/gitea/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue