From a5365ec3d924a91abdd80c4f58d2158472788de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 21 Jan 2019 21:06:33 +0100 Subject: Move all fixmes to mantisbt issue tracking Fixes https://git.immae.eu/mantisbt/view.php?id=111 --- virtual/modules/websites/tools/mastodon/default.nix | 5 ----- virtual/modules/websites/tools/mastodon/mastodon.nix | 1 - 2 files changed, 6 deletions(-) (limited to 'virtual/modules/websites/tools/mastodon') diff --git a/virtual/modules/websites/tools/mastodon/default.nix b/virtual/modules/websites/tools/mastodon/default.nix index d25a072..25a389b 100644 --- a/virtual/modules/websites/tools/mastodon/default.nix +++ b/virtual/modules/websites/tools/mastodon/default.nix @@ -11,8 +11,6 @@ in { }; config = lib.mkIf cfg.enable { - # FIXME: Can we use dynamic users from systemd? - # nixos/modules/misc/ids.nix ids.uids.mastodon = 399; ids.gids.mastodon = 399; @@ -96,7 +94,6 @@ in { unitConfig.RequiresMountsFor = mastodon.varDir; }; - # FIXME: monitor jobs systemd.services.mastodon-sidekiq = { description = "Mastodon Sidekiq"; wantedBy = [ "multi-user.target" ]; @@ -124,7 +121,6 @@ in { unitConfig.RequiresMountsFor = mastodon.varDir; }; - # FIXME: initial sync system.activationScripts.mastodon = { deps = [ "users" ]; text = '' @@ -135,7 +131,6 @@ in { services.myWebsites.tools.modules = [ "headers" "proxy" "proxy_wstunnel" "proxy_http" "proxy_balancer" - # FIXME: probably only one balancer method is needed: "lbmethod_byrequests" "lbmethod_bytraffic" "lbmethod_bybusyness" "lbmethod_heartbeat" ]; security.acme.certs."eldiron".extraDomains."mastodon.immae.eu" = null; diff --git a/virtual/modules/websites/tools/mastodon/mastodon.nix b/virtual/modules/websites/tools/mastodon/mastodon.nix index 9457a13..e948852 100644 --- a/virtual/modules/websites/tools/mastodon/mastodon.nix +++ b/virtual/modules/websites/tools/mastodon/mastodon.nix @@ -2,7 +2,6 @@ let varDir = "/var/lib/mastodon_immae"; socketsDir = "/run/mastodon"; - # FIXME: use gemsets and nodejs equivalent mastodon = stdenv.mkDerivation (fetchedGithub ./mastodon.json // rec { buildPhase = '' export GIT_SSL_CAINFO=${cacert}/etc/ssl/certs/ca-bundle.crt -- cgit v1.2.3