fix jellyfin? and gitea config change

This commit is contained in:
Simon Gardling 2024-09-27 12:54:55 -04:00
parent 7c46e0c9b1
commit c3e2e8fa02
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D
4 changed files with 14 additions and 2 deletions

View File

@ -11,7 +11,7 @@
{ {
imports = [ imports = [
./hardware.nix ./hardware.nix
# ./services/jellyfin.nix ./services/jellyfin.nix
./services/caddy.nix ./services/caddy.nix
./services/quadlet.nix ./services/quadlet.nix
./services/immich.nix ./services/immich.nix

View File

@ -61,6 +61,11 @@
config_dir = "/tank/services/qbittorrent/config"; config_dir = "/tank/services/qbittorrent/config";
download_dir = "${service_configs.hdd_path}/torrents"; download_dir = "${service_configs.hdd_path}/torrents";
}; };
jellyfin = {
data_dir = "/tank/services/jellyfin";
cache_dir = "/tank/services/jellyfin_cache";
};
}; };
in in
{ {

View File

@ -17,6 +17,7 @@
DOMAIN = "git.gardling.com"; DOMAIN = "git.gardling.com";
ROOT_URL = "https://git.gardling.com"; ROOT_URL = "https://git.gardling.com";
HTTP_PORT = service_configs.ports.git-server; HTTP_PORT = service_configs.ports.git-server;
LANDING_PAGE = "/explore/repos";
}; };
session = { session = {
# https cookies or smth # https cookies or smth

View File

@ -1,4 +1,4 @@
{ pkgs, config, ... }: { pkgs, config, service_configs, ... }:
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
jellyfin jellyfin
@ -8,7 +8,13 @@
services.jellyfin = { services.jellyfin = {
enable = true; enable = true;
# used for local streaming
openFirewall = true; openFirewall = true;
user = "jellyfin";
group = "users";
dataDir = service_configs.jellyfin.data_dir;
cacheDir = service_configs.jellyfin.cache_dir;
}; };
users.users.${config.services.jellyfin.user}.extraGroups = [ users.users.${config.services.jellyfin.user}.extraGroups = [