gerd.forgejo: moved to postgresql instead of sqlite
This commit is contained in:
parent
13ab4ae245
commit
5a48cedb58
1 changed files with 4 additions and 2 deletions
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
svc_domain = "git.${config.mine.shared.settings.domain}";
|
svc_domain = "git.${config.mine.shared.settings.domain}";
|
||||||
|
|
||||||
in {
|
in {
|
||||||
services.forgejo = {
|
services.forgejo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
stateDir = config.mine.zfsMounts."rpool/safe/svcs/forgejo";
|
||||||
|
|
||||||
package = pkgs.forgejo.overrideAttrs (old: {
|
package = pkgs.forgejo.overrideAttrs (old: {
|
||||||
patches = old.patches ++ [
|
patches = old.patches ++ [
|
||||||
|
@ -14,7 +14,9 @@ in {
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
stateDir = config.mine.zfsMounts."rpool/safe/svcs/forgejo";
|
# use postgres, will create and start postgresql
|
||||||
|
# itself, as well as databdase and user
|
||||||
|
database.type = "postgres";
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
server = {
|
server = {
|
||||||
|
|
Loading…
Reference in a new issue