services init
This commit is contained in:
parent
fee690b32f
commit
74f425ed69
1
modules/server/services/default.nix
Normal file
1
modules/server/services/default.nix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{ imports = [ ./forgejo.nix ]; }
|
13
modules/server/services/forgejo.nix
Normal file
13
modules/server/services/forgejo.nix
Normal 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 = { };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue