{ lib, env, rompr, config }:
rec {
varDir = "/var/lib/rompr";
activationScript = ''
install -m 0755 -o ${apache.user} -g ${apache.group} -d ${varDir} \
${varDir}/prefs ${varDir}/albumart
'';
webRoot = rompr;
apache = rec {
user = "wwwrun";
group = "wwwrun";
modules = [ "headers" "mime" "proxy_fcgi" ];
root = webRoot;
vhostConf = socket: ''
Alias /rompr ${root}