diff --git a/modules/gitea/default.nix b/modules/gitea/default.nix new file mode 100644 index 0000000..d88d114 --- /dev/null +++ b/modules/gitea/default.nix @@ -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; + }; + }; +}