From 1c81f394c69667f904658406aa73ed4846431f11 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sun, 8 Dec 2024 07:28:56 +0300 Subject: [PATCH] Home: Remove OnlyOffice Web because it breaks way too often. --- host/x86_64-linux/home/Nextcloud.nix | 2 +- host/x86_64-linux/home/OnlyOffice.nix | 20 -------------------- host/x86_64-linux/home/Postgres.nix | 1 - 3 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 host/x86_64-linux/home/OnlyOffice.nix diff --git a/host/x86_64-linux/home/Nextcloud.nix b/host/x86_64-linux/home/Nextcloud.nix index ef8004d9..6f65e829 100644 --- a/host/x86_64-linux/home/Nextcloud.nix +++ b/host/x86_64-linux/home/Nextcloud.nix @@ -23,7 +23,7 @@ }; extraApps = { inherit (config.services.nextcloud.package.packages.apps) - contacts calendar onlyoffice; + contacts calendar; }; settings = { allow_local_remote_servers = true; diff --git a/host/x86_64-linux/home/OnlyOffice.nix b/host/x86_64-linux/home/OnlyOffice.nix deleted file mode 100644 index 581766d3..00000000 --- a/host/x86_64-linux/home/OnlyOffice.nix +++ /dev/null @@ -1,20 +0,0 @@ -# NOTE: Imperative part: -# 1. You need to change PSQL tables owner from root to onlyoffice, too. They don't do that automatically for some reason. -# 2. TODO: Generate JWT secret at /var/lib/onlyoffice/jwt, i.e. 9wLfMGha1YrfvWpb5hyYjZf8pvJQ3swS -# SEE: https://git.voronind.com/voronind/nixos/issues/74 -{ - config, - lib, - ... -}: { - # services.onlyoffice = { - # enable = true; - # hostname = "office.voronind.com"; - # jwtSecretFile = "/var/www/onlyoffice/jwt"; - # - # postgresName = "onlyoffice"; - # postgresUser = "onlyoffice"; - # # postgresPasswordFile = "${pkgs.writeText "OfficeDbPassword" dbName}"; - # # rabbitmqUrl = "amqp://guest:guest@${config.container.module.rabbitmq.address}:${toString config.container.module.rabbitmq.port}"; - # }; -} diff --git a/host/x86_64-linux/home/Postgres.nix b/host/x86_64-linux/home/Postgres.nix index 9cb5db6e..58ce6705 100644 --- a/host/x86_64-linux/home/Postgres.nix +++ b/host/x86_64-linux/home/Postgres.nix @@ -11,7 +11,6 @@ "invidious" "mattermost" "nextcloud" - "onlyoffice" "paperless" "privatebin" ];