nixos/modules/server/services/forgejo.nix

14 lines
275 B
Nix
Raw Normal View History

2024-12-31 19:29:21 +04:00
{ config, lib, ... }:
with lib;
2024-12-31 19:31:15 +04:00
let cfg = config.void.server.services.forgejo;
2024-12-31 19:29:21 +04:00
in {
2024-12-31 19:30:47 +04:00
options.void.server.services.forgejo = { enable = mkEnableOption false; };
2024-12-31 19:29:21 +04:00
config = mkIf cfg.enable {
services.forgejo = {
enable = true;
# settings = { };
};
};
}