Add onlyoffice service

This commit is contained in:
Théo Barnouin 2025-01-07 14:06:58 +01:00
parent a802422305
commit 0e79faf621

View file

@ -5,7 +5,10 @@ in
{ {
options.services.vm_onlyoffice = { options.services.vm_onlyoffice = {
enable = lib.mkEnableOption "Enable OnlyOffice service"; enable = lib.mkEnableOption "Enable OnlyOffice service";
pgsql_ip = lib.mkEnableOption "Postgres database IP address"; pgsql_ip = lib.mkOption {
type = lib.types.str;
description = "The PostgreSQL host IP address";
};
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
services = { services = {