forgejo: fix option definition

This commit is contained in:
Zynh Ludwig 2024-12-27 13:42:01 -08:00
parent 41ad6fe8ea
commit d4a8f67e9a

View file

@ -1,12 +1,12 @@
{ lib, config, ... }: { lib, config, ... }:
let let
cfg = config.permafrost.nyazoom; cfg = config.permafrost.forgejo;
ACMEEnabled = config.nginx.enableACME; ACMEEnabled = config.nginx.enableACME;
in in
{ {
options.permafrost.nyazoom = { options.permafrost.forgejo = {
enable = lib.mkEnableOption "permafrost nixos module"; enable = lib.mkEnableOption "forgejo nixos module";
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {