1
0
mirror of https://git.oat.zone/dark-firepit/dotfiles synced 2024-11-22 17:01:57 +01:00

forgejo package config

This commit is contained in:
Jill "oatmealine" Monoids 2023-03-20 19:59:28 +01:00
parent 8bc4dd93cd
commit 2bcd402b2e

@ -17,13 +17,17 @@ in {
type = types.int;
default = 3000;
};
package = mkOption {
type = types.package;
default = pkgs.unstable.forgejo;
};
};
config = mkIf cfg.enable {
services = {
gitea = {
enable = true;
package = pkgs.unstable.forgejo;
package = cfg.package;
domain = cfg.domain;
httpPort = cfg.port;
rootUrl = "https://${cfg.domain}/";