init
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
database = {
|
||||
type = "sqlite3";
|
||||
passwordFile = "${config.age.secrets.gitea-db.path}";
|
||||
};
|
||||
settings = {
|
||||
server = {
|
||||
DOMAIN = "git.nicknase27.com";
|
||||
ROOT_URL = "https://git.nicknase27.com";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
age.secrets.gitea-db = {
|
||||
file = ../../secrets/gitea-db.age;
|
||||
path = "/run/secrets/gitea-db";
|
||||
mode = "777";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user