gitea-dump fix
This commit is contained in:
@@ -41,7 +41,7 @@ let git-user = "git"; in
|
|||||||
dump = {
|
dump = {
|
||||||
enable = true;
|
enable = true;
|
||||||
backupDir = "/var/backup/gitea";
|
backupDir = "/var/backup/gitea";
|
||||||
file = null; # default = chosen by gitea
|
file = "gitea-dump.zip"; # default = chosen by gitea
|
||||||
interval = "daily";
|
interval = "daily";
|
||||||
type = "zip"; # default
|
type = "zip"; # default
|
||||||
};
|
};
|
||||||
@@ -99,7 +99,7 @@ let git-user = "git"; in
|
|||||||
in {
|
in {
|
||||||
"gitea-theme" = /* bash */ ''
|
"gitea-theme" = /* bash */ ''
|
||||||
mkdir -p ${config.services.gitea.stateDir}/custom/public/assets/css/
|
mkdir -p ${config.services.gitea.stateDir}/custom/public/assets/css/
|
||||||
ln -s ${theme}/theme-pitchblack.css ${config.services.gitea.stateDir}/custom/public/assets/css/theme-pitchblack.css
|
ln -fs ${theme}/theme-pitchblack.css ${config.services.gitea.stateDir}/custom/public/assets/css/theme-pitchblack.css
|
||||||
chown -R ${git-user}:${git-user} ${config.services.gitea.stateDir}/custom/
|
chown -R ${git-user}:${git-user} ${config.services.gitea.stateDir}/custom/
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user