Add onlyoffice service
This commit is contained in:
parent
a802422305
commit
0e79faf621
1 changed files with 4 additions and 1 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue