summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorAaron Andersen <aaron@fosslib.net>2019-06-13 17:10:12 -0400
committerAaron Andersen <aaron@fosslib.net>2019-06-13 17:12:13 -0400
commita49b546c92e0b221d4a81398caf02484641e1f7f (patch)
tree54b5b3b31df390daff6344cc8a9ae47fcdeecd61 /nixos/modules/services
parente278ff48bc290c8b0a1d92bf15972b2d3ecc0938 (diff)
nixos/httpd: remove unmaintained subservice (phabricator)
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/web-servers/apache-httpd/phabricator.nix50
1 files changed, 0 insertions, 50 deletions
diff --git a/nixos/modules/services/web-servers/apache-httpd/phabricator.nix b/nixos/modules/services/web-servers/apache-httpd/phabricator.nix
deleted file mode 100644
index efd4a7b5f0fb..000000000000
--- a/nixos/modules/services/web-servers/apache-httpd/phabricator.nix
+++ /dev/null
@@ -1,50 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-let
- phabricatorRoot = pkgs.phabricator;
-in {
-
- enablePHP = true;
- extraApacheModules = [ "mod_rewrite" ];
- DocumentRoot = "${phabricatorRoot}/phabricator/webroot";
-
- options = {
- git = mkOption {
- default = true;
- description = "Enable git repositories.";
- };
- mercurial = mkOption {
- default = true;
- description = "Enable mercurial repositories.";
- };
- subversion = mkOption {
- default = true;
- description = "Enable subversion repositories.";
- };
- };
-
- extraConfig = ''
- DocumentRoot ${phabricatorRoot}/phabricator/webroot
-
- RewriteEngine on
- RewriteRule ^/rsrc/(.*) - [L,QSA]
- RewriteRule ^/favicon.ico - [L,QSA]
- RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA]
- '';
-
- extraServerPath = [
- "${pkgs.which}"
- "${pkgs.diffutils}"
- ] ++
- (if config.mercurial then ["${pkgs.mercurial}"] else []) ++
- (if config.subversion then ["${pkgs.subversion.out}"] else []) ++
- (if config.git then ["${pkgs.git}"] else []);
-
- startupScript = pkgs.writeScript "activatePhabricator" ''
- mkdir -p /var/repo
- chown wwwrun /var/repo
- '';
-
-}