15 lines
230 B
Nix
15 lines
230 B
Nix
|
{ 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;
|
||
|
};
|
||
|
};
|
||
|
}
|