services init

This commit is contained in:
Sakooooo 2024-12-31 19:29:21 +04:00
parent fee690b32f
commit 74f425ed69
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1 @@
{ imports = [ ./forgejo.nix ]; }

View file

@ -0,0 +1,13 @@
{ config, lib, ... }:
with lib;
let cfg = config.void.services.forgejo;
in {
options.void.server.forgejo = { enable = mkEnableOption false; };
config = mkIf cfg.enable {
services.forgejo = {
enable = true;
# settings = { };
};
};
}