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:
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}/";
|
||||
|
Loading…
Reference in New Issue
Block a user