From 375ee4aa9397da61a9af8d030fa0d9c9b168f6ac Mon Sep 17 00:00:00 2001 From: Nathan Date: Thu, 24 Jul 2025 15:37:50 -0500 Subject: [PATCH] jellyfin broke? --- .../configuration/homebox/default.nix | 2 +- .../services/containers/keycloak/default.nix | 43 +++++++++++++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 system-config/services/containers/keycloak/default.nix diff --git a/system-config/configuration/homebox/default.nix b/system-config/configuration/homebox/default.nix index dd855e3..0821ccc 100644 --- a/system-config/configuration/homebox/default.nix +++ b/system-config/configuration/homebox/default.nix @@ -260,7 +260,7 @@ virtualization = { traefik.enable = true; authentik.enable = true; - jellyfin.enable = true; + jellyfin.enable = false; "blunkall.us".enable = true; pihole.enable = false; #broken nextcloud.enable = true; diff --git a/system-config/services/containers/keycloak/default.nix b/system-config/services/containers/keycloak/default.nix new file mode 100644 index 0000000..f27b1be --- /dev/null +++ b/system-config/services/containers/keycloak/default.nix @@ -0,0 +1,43 @@ +{ config, lib, ... }: { + + options.sysconfig.opts.virtualization.keycloak.enable = lib.options.mkOption { + type = lib.types.bool; + default = false; + }; + + config = lib.mkIf config.sysconfig.opts.virtualization.keycloak.enable { + + containers.keycloak = { + + autoStart = true; + privateNetwork = true; + hostAddress = "192.168.100.10"; + localAddress = "192.168.100.22"; + + bindMounts = { + "/etc/keycloak" = { + hostPath = "/ssd1/Keycloak"; + isReadOnly = false; + }; + }; + + config = { + + services.keycloak = { + + enable = true; + + settings = { + hostname = "auth.blunkall.us"; + + http-enabled = true; + + + }; + }; + + system.stateVersion = "25.05"; + }; + }; + }; +}