From 0b41aeaf01af4f1863373f72f0c8ed4d01ccba28 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Thu, 30 Nov 2023 19:58:59 +0100 Subject: [PATCH] feat(onlyoffice): Remove onlyoffica as it does not work currently --- machines/compute01/_configuration.nix | 1 - machines/compute01/onlyoffice/default.nix | 21 --------------- .../secrets/onlyoffice-jwt_secret_file | 27 ------------------- machines/compute01/secrets/secrets.nix | 1 - patches/default.nix | 12 --------- 5 files changed, 62 deletions(-) delete mode 100644 machines/compute01/onlyoffice/default.nix delete mode 100644 machines/compute01/secrets/onlyoffice-jwt_secret_file diff --git a/machines/compute01/_configuration.nix b/machines/compute01/_configuration.nix index 3400c06..5736309 100644 --- a/machines/compute01/_configuration.nix +++ b/machines/compute01/_configuration.nix @@ -15,7 +15,6 @@ lib.extra.mkConfig { "kanidm" "mastodon" "nextcloud" - "onlyoffice" "outline" "rstudio-server" "satosa" diff --git a/machines/compute01/onlyoffice/default.nix b/machines/compute01/onlyoffice/default.nix deleted file mode 100644 index fbce510..0000000 --- a/machines/compute01/onlyoffice/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ config, ... }: - -let hostname = "documentserver.dgnum.eu"; -in { - services.onlyoffice = { - inherit hostname; - - enable = true; - - jwtSecretFile = config.age.secrets."onlyoffice-jwt_secret_file".path; - - port = 8015; - }; - - services.nginx.virtualHosts.${hostname} = { - enableACME = true; - forceSSL = true; - }; - - dgn-secrets.matches."^onlyoffice-.*$" = { owner = "onlyoffice"; }; -} diff --git a/machines/compute01/secrets/onlyoffice-jwt_secret_file b/machines/compute01/secrets/onlyoffice-jwt_secret_file deleted file mode 100644 index a3136e6..0000000 --- a/machines/compute01/secrets/onlyoffice-jwt_secret_file +++ /dev/null @@ -1,27 +0,0 @@ -age-encryption.org/v1 --> ssh-ed25519 tDqJRg 9KClo50ZWR0uxGXomkq/qiMAIqmUwZs5zAQB7NP2EQ0 -OLPsgWRhboDtx3w4tSngC6iawgwwsobxH3f1XX0GmaU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9LiLpfzt0oTp -p0Qjf1NLqvE5zishlqCwqCww3J+BrrfgGBPtOMiNGQU8Znk4LFFwxoc ---- P7IYBsTzUeccF3jqd+V3h3HaE/rXtZRNgrYNlQVKL0U -i/n!Oy|Ȑ&C뚪lW2-lNSXcRG} \ No newline at end of file diff --git a/machines/compute01/secrets/secrets.nix b/machines/compute01/secrets/secrets.nix index 6764df1..898e3cb 100644 --- a/machines/compute01/secrets/secrets.nix +++ b/machines/compute01/secrets/secrets.nix @@ -9,7 +9,6 @@ lib.setDefault { inherit publicKeys; } [ "mastodon-extra_env_file" "nextcloud-adminpass_file" "nextcloud-s3_secret_file" - "onlyoffice-jwt_secret_file" "outline-oidc_client_secret_file" "outline-smtp_password_file" "outline-storage_secret_key_file" diff --git a/patches/default.nix b/patches/default.nix index 39b2e6e..04d5862 100644 --- a/patches/default.nix +++ b/patches/default.nix @@ -128,18 +128,6 @@ path = ./castopod.patch; } - # onlyoffice-documentserver: 7.3.3 -> 7.4.0 - { - id = 238182; - hash = "sha256-HhdNPOOmQ62IYoG50ZGc0U/dUub2vIQ4fJR/gudoV2Y="; - } - - # onlyoffice-documentserver: 7.4.0 -> 7.4.1 - { - id = 252318; - hash = "sha256-lI5WYFlxKvava9e+eTI8ZGogIb3uPOLAWFrkxbSlCXI="; - } - # nixos/fail2ban: RFC42-ize { id = 201907;