fix forgejo themes
This commit is contained in:
parent
fee192faac
commit
b5469fd6e3
1 changed files with 3 additions and 3 deletions
|
@ -95,9 +95,9 @@ in {
|
|||
|
||||
systemd.services.gitea = {
|
||||
preStart = mkAfter ''
|
||||
rm -rf ${config.services.gitea.stateDir}/custom/public
|
||||
mkdir -p ${config.services.gitea.stateDir}/custom/public
|
||||
ln -sf ${theme} ${config.services.gitea.stateDir}/custom/public/css
|
||||
rm -rf ${config.services.gitea.customDir}/public/assets
|
||||
mkdir -p ${config.services.gitea.customDir}/public/assets
|
||||
ln -sf ${theme} ${config.services.gitea.customDir}/public/assets/css
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue