mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-05 08:43:08 +02:00
24 lines
564 B
Nix
24 lines
564 B
Nix
|
inputs: { config, pkgs, ... }: {
|
||
|
services = {
|
||
|
/*
|
||
|
postgresql = {
|
||
|
ensureDatabases = [ config.services.gitea.user ];
|
||
|
ensureUsers = [
|
||
|
{
|
||
|
name = config.services.gitea.database.user;
|
||
|
ensurePermissions."DATABASE ${config.services.gitea.database.name}" = "ALL PRIVILEGES";
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
*/
|
||
|
gitea = {
|
||
|
enable = true;
|
||
|
package = pkgs.forgejo;
|
||
|
appName = "Graphite's Forge";
|
||
|
domain = "git.gra.phite.ro";
|
||
|
rootUrl = "https://git.gra.phite.ro";
|
||
|
lfs.enable = true;
|
||
|
};
|
||
|
};
|
||
|
}
|