This commit is contained in:
Simon Gardling 2024-10-07 23:16:04 -04:00
parent 1c2dd9bcb0
commit dfa8472c04
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D
6 changed files with 12 additions and 12 deletions

12
flake.lock generated
View File

@ -43,11 +43,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1728006367, "lastModified": 1728351976,
"narHash": "sha256-Bdf5twzinaacnn1JBogvxq0S8Ytm+25mWD2cfJ7fvpo=", "narHash": "sha256-X83r7hCo6fzllvgVGT2sJhl0dwZbA4xfud3GFtkwaBg=",
"owner": "Infinidoge", "owner": "Infinidoge",
"repo": "nix-minecraft", "repo": "nix-minecraft",
"rev": "a3a7888df1b87bdababfd9f0b00b574ee4c2e204", "rev": "02bae91cf389340c62bb367d4a5b6ad06a2562d1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -74,11 +74,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1728348559, "lastModified": 1728352754,
"narHash": "sha256-jVgMjAEhwvnuI1WZWoZfM8Luh3zsjn4ZsfOHKKF7kKI=", "narHash": "sha256-rIa/pEDxkQqSaDMxNIlsFq0GpKSCeNxWkvhUzdLLrWk=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6235ae1ef7b09fe720a7f32bd38f74ccb859305a", "rev": "3727d51a8e07e635b9bcbc5f812b16d80d46eaeb",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -49,6 +49,7 @@
gitea = { gitea = {
dir = service_configs.services_dir + "/gitea"; dir = service_configs.services_dir + "/gitea";
domain = "git.gardling.com";
}; };
postgres = { postgres = {

View File

@ -25,7 +25,7 @@
} }
''; '';
"git.gardling.com".extraConfig = '' ${service_configs.gitea.domain}.extraConfig = ''
reverse_proxy 127.0.0.1:${builtins.toString service_configs.ports.gitea} reverse_proxy 127.0.0.1:${builtins.toString service_configs.ports.gitea}
''; '';
}; };

View File

@ -15,8 +15,8 @@
settings = { settings = {
server = { server = {
DOMAIN = "git.gardling.com"; DOMAIN = service_configs.gitea.domain;
ROOT_URL = "https://git.gardling.com"; ROOT_URL = "https://" + service_configs.gitea.domain;
HTTP_PORT = service_configs.ports.gitea; HTTP_PORT = service_configs.ports.gitea;
LANDING_PAGE = "/explore/repos"; LANDING_PAGE = "/explore/repos";
}; };

View File

@ -2,7 +2,6 @@
pkgs, pkgs,
config, config,
service_configs, service_configs,
lib,
... ...
}: }:
{ {

View File

@ -5,7 +5,7 @@
gluetun.containerConfig = { gluetun.containerConfig = {
image = "docker.io/qmcgaw/gluetun"; image = "docker.io/qmcgaw/gluetun";
name = "gluetun"; name = "gluetun";
autoUpdate = "registry"; # autoUpdate = "registry";
addCapabilities = [ addCapabilities = [
"NET_ADMIN" "NET_ADMIN"
@ -36,7 +36,6 @@
environments = { environments = {
WEBUI_PORT = service_configs.ports.torrent; WEBUI_PORT = service_configs.ports.torrent;
DOCKER_MODS = "ghcr.io/gabe565/linuxserver-mod-vuetorrent"; DOCKER_MODS = "ghcr.io/gabe565/linuxserver-mod-vuetorrent";
# PUID = 1000;
PGID = config.users.groups.${config.services.jellyfin.group}.gid; PGID = config.users.groups.${config.services.jellyfin.group}.gid;
}; };
@ -54,6 +53,7 @@
}; };
}; };
}; };
networks = { networks = {
internal.networkConfig.subnets = [ "10.0.123.1/24" ]; internal.networkConfig.subnets = [ "10.0.123.1/24" ];
}; };