[bot]: remove unreferenced code

This commit is contained in:
volth
2018-07-20 17:56:59 +00:00
parent a7e5927b47
commit 87f5930c3f
118 changed files with 16 additions and 449 deletions

View File

@@ -98,11 +98,6 @@ let
allSubservices = mainSubservices ++ concatMap subservicesFor mainCfg.virtualHosts;
# !!! should be in lib
writeTextInDir = name: text:
pkgs.runCommand name {inherit text;} "mkdir -p $out; echo -n \"$text\" > $out/$name";
enableSSL = any (vhost: vhost.enableSSL) allHosts;

View File

@@ -4,17 +4,6 @@ with lib;
let
httpd = serverInfo.serverConfig.package;
version24 = !versionOlder httpd.version "2.4";
allGranted = if version24 then ''
Require all granted
'' else ''
Order allow,deny
Allow from all
'';
owncloudConfig = pkgs.writeText "config.php"
''
<?php

View File

@@ -12,8 +12,6 @@ let
apacheHttpd = httpd;
};
pythonLib = p: "${p}/";
httpd = serverInfo.serverConfig.package;
versionPre24 = versionOlder httpd.version "2.4";