nixos/lighttpd: move cgit setup to cgit.nix
To where it really belongs. Separation of concern.
This commit is contained in:
@@ -63,6 +63,11 @@ in
|
||||
}
|
||||
'';
|
||||
|
||||
systemd.services.lighttpd.preStart = ''
|
||||
mkdir -p /var/cache/cgit
|
||||
chown lighttpd:lighttpd /var/cache/cgit
|
||||
'';
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user