nixos/lighttpd: move cgit setup to cgit.nix

To where it really belongs. Separation of concern.
This commit is contained in:
Bjørn Forsman
2016-07-26 15:37:24 +02:00
parent d5c27859b4
commit 0a2174f195
2 changed files with 5 additions and 6 deletions
@@ -63,6 +63,11 @@ in
}
'';
systemd.services.lighttpd.preStart = ''
mkdir -p /var/cache/cgit
chown lighttpd:lighttpd /var/cache/cgit
'';
};
}