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
|
||||
svc_domain = "git.${config.mine.shared.settings.domain}";
|
||||
|
||||
in {
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
stateDir = config.mine.zfsMounts."rpool/safe/svcs/forgejo";
|
||||
|
||||
package = pkgs.forgejo.overrideAttrs (old: {
|
||||
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 = {
|
||||
server = {
|
||||
|
|
Loading…
Reference in a new issue