mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2025-12-14 15:48:21 +01:00
vps1: reorganize data a bit
This commit is contained in:
parent
2f1cf4f40e
commit
e158c95133
5 changed files with 15 additions and 8 deletions
|
|
@ -1,9 +1,8 @@
|
|||
# Big thanks to Pyrox for their config! https://git.pyrox.dev/pyrox/nix/src/branch/main/hosts/marvin/services/git.nix
|
||||
{ lib, pkgs, config, data, ... }:
|
||||
let
|
||||
inherit (data.services) rootDomain;
|
||||
domain = "${data.services.git.subdomain}.${rootDomain}";
|
||||
gitSSHPort = data.services.git.sshPort;
|
||||
inherit (data.host) rootDomain;
|
||||
inherit (data.services.git) domain sshPort;
|
||||
|
||||
cfg = config.services.forgejo;
|
||||
srv = cfg.settings.server;
|
||||
|
|
@ -40,7 +39,7 @@ in
|
|||
ROOT_URL = "https://${srv.DOMAIN}/";
|
||||
HTTP_ADDR = "127.0.0.1";
|
||||
HTTP_PORT = 3001;
|
||||
SSH_PORT = gitSSHPort;
|
||||
SSH_PORT = sshPort;
|
||||
};
|
||||
DEFAULT = {
|
||||
APP_NAME = "Lgmrszd's git";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue