From 9c73be46acb8486787f5047d0fc8c1ac3da6572c Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Sat, 7 Feb 2026 13:26:02 -0600 Subject: [PATCH] discord upgrades --- .codex/config.toml | 4 ++++ modules/modules.nix | 1 - modules/network/firewall.nix | 1 - modules/servers/flame.nix | 4 ++-- modules/servers/lidarr.nix | 2 +- modules/servers/maloja.nix | 2 +- modules/servers/metube.nix | 2 +- modules/servers/multi-scrobbler.nix | 2 +- modules/servers/nextcloud.nix | 2 +- modules/servers/plex-discord-bot.nix | 24 ------------------------ modules/servers/yamtrack.nix | 4 ++-- 11 files changed, 13 insertions(+), 35 deletions(-) delete mode 100644 modules/servers/plex-discord-bot.nix diff --git a/.codex/config.toml b/.codex/config.toml index 7240aeb..f1d61f0 100644 --- a/.codex/config.toml +++ b/.codex/config.toml @@ -14,3 +14,7 @@ trust_level = "trusted" [mcp_servers.nixos-mcp] command = "nixos-mcp" cwd = "/home/jawz/Development/NixOS" + +[mcp_servers.nixos] +command = "nix" +args = ["run", "github:utensils/mcp-nixos", "--"] diff --git a/modules/modules.nix b/modules/modules.nix index 7e58bb6..57e8d52 100644 --- a/modules/modules.nix +++ b/modules/modules.nix @@ -217,7 +217,6 @@ in config.my.servers.go-vod.enable config.my.servers.tranga.enable config.my.servers.drpp.enable - config.my.servers.plex-discord-bot.enable ]); message = "Container services are enabled but enableContainers is false"; } diff --git a/modules/network/firewall.nix b/modules/network/firewall.nix index 3493374..7534e09 100644 --- a/modules/network/firewall.nix +++ b/modules/network/firewall.nix @@ -16,7 +16,6 @@ let "drpp" "metube" "multi-scrobbler" - "plex-discord-bot" ]; nativeServicesWithOpenFirewall = inputs.self.lib.getServicesWithNativeFirewall config firewallBlacklist; servicesConfig = lib.listToAttrs ( diff --git a/modules/servers/flame.nix b/modules/servers/flame.nix index 6f7c0b9..868fa0d 100644 --- a/modules/servers/flame.nix +++ b/modules/servers/flame.nix @@ -21,7 +21,7 @@ in virtualisation.oci-containers.containers = lib.mkIf enable { flame = lib.mkIf cfg.enable { autoStart = true; - image = "pawelmalak/flame"; + image = "pawelmalak/flame:latest"; ports = [ "${toString cfg.port}:${toString cfg.port}" ]; volumes = [ "${config.my.containerData}/flame:/app/data" @@ -36,7 +36,7 @@ in }; flame-nsfw = lib.mkIf cfgS.enable { autoStart = true; - image = "pawelmalak/flame"; + image = "pawelmalak/flame:latest"; ports = [ "${toString cfgS.port}:${toString cfg.port}" ]; volumes = [ "${config.my.containerData}/flame-nsfw:/app/data" ]; environmentFiles = [ config.sops.secrets.flame.path ]; diff --git a/modules/servers/lidarr.nix b/modules/servers/lidarr.nix index d03e7fe..5c6c869 100644 --- a/modules/servers/lidarr.nix +++ b/modules/servers/lidarr.nix @@ -11,7 +11,7 @@ in options.my.servers.lidarr = setup.mkOptions "lidarr" "music" 8686; config.virtualisation.oci-containers.containers.lidarr = lib.mkIf cfg.enable { autoStart = true; - image = "linuxserver/lidarr:version-3.0.1.4866"; + image = "linuxserver/lidarr:latest"; ports = [ "${toString cfg.port}:${toString cfg.port}" ]; environment = { TZ = config.my.timeZone; diff --git a/modules/servers/maloja.nix b/modules/servers/maloja.nix index e0526e9..74deaf7 100644 --- a/modules/servers/maloja.nix +++ b/modules/servers/maloja.nix @@ -12,7 +12,7 @@ in config = lib.mkIf (cfg.enable && config.my.secureHost) { sops.secrets.maloja.sopsFile = ../../secrets/env.yaml; virtualisation.oci-containers.containers.maloja = { - image = "krateng/maloja:3.2.4"; + image = "krateng/maloja:latest"; ports = [ "${toString cfg.port}:${toString cfg.port}" ]; environmentFiles = [ config.sops.secrets.maloja.path ]; environment = { diff --git a/modules/servers/metube.nix b/modules/servers/metube.nix index bffd81f..7cf3e97 100644 --- a/modules/servers/metube.nix +++ b/modules/servers/metube.nix @@ -10,7 +10,7 @@ in { options.my.servers.metube = setup.mkOptions "metube" "bajameesta" 8881; config.virtualisation.oci-containers.containers.metube = lib.mkIf cfg.enable { - image = "ghcr.io/alexta69/metube:2026.01.02"; + image = "ghcr.io/alexta69/metube:latest"; ports = [ "${toString cfg.port}:8081" ]; volumes = [ "${config.my.containerData}/metube:/downloads" diff --git a/modules/servers/multi-scrobbler.nix b/modules/servers/multi-scrobbler.nix index ee3df9c..0eae099 100644 --- a/modules/servers/multi-scrobbler.nix +++ b/modules/servers/multi-scrobbler.nix @@ -12,7 +12,7 @@ in config = lib.mkIf (cfg.enable && config.my.secureHost) { sops.secrets.multi-scrobbler.sopsFile = ../../secrets/env.yaml; virtualisation.oci-containers.containers.multi-scrobbler = { - image = "foxxmd/multi-scrobbler:0.10.0"; + image = "foxxmd/multi-scrobbler:latest"; ports = [ "${toString cfg.port}:${toString cfg.port}" ]; environmentFiles = [ config.sops.secrets.multi-scrobbler.path ]; environment = { diff --git a/modules/servers/nextcloud.nix b/modules/servers/nextcloud.nix index d84c575..9417d84 100644 --- a/modules/servers/nextcloud.nix +++ b/modules/servers/nextcloud.nix @@ -188,7 +188,7 @@ in virtualisation.oci-containers.containers = { go-vod = lib.mkIf config.my.servers.go-vod.enable { autoStart = true; - image = "radialapps/go-vod"; + image = "radialapps/go-vod:latest"; environment = { TZ = config.my.timeZone; NEXTCLOUD_HOST = "https://${config.services.nextcloud.hostName}"; diff --git a/modules/servers/plex-discord-bot.nix b/modules/servers/plex-discord-bot.nix deleted file mode 100644 index d45d84c..0000000 --- a/modules/servers/plex-discord-bot.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ - lib, - config, - ... -}: -let - setup = import ../factories/mkserver.nix { inherit lib config; }; - cfg = config.my.servers.plex-discord-bot; - name = "plex-discord-bot"; -in -{ - options.my.servers.plex-discord-bot = setup.mkOptions name name 0; - config.virtualisation.oci-containers.containers.plex-discord-bot = lib.mkIf cfg.enable { - image = "ghcr.io/phin05/discord-rich-presence-plex:latest"; - environment = { - DRPP_UID = toString config.users.users.jawz.uid; - DRPP_GID = toString config.users.groups.users.gid; - }; - volumes = [ - "${config.my.containerData}/drpp:/app/data" - "/run/user/${toString config.users.users.jawz.uid}:/run/app" - ]; - }; -} diff --git a/modules/servers/yamtrack.nix b/modules/servers/yamtrack.nix index a75c453..3aebdd2 100644 --- a/modules/servers/yamtrack.nix +++ b/modules/servers/yamtrack.nix @@ -12,9 +12,9 @@ in config = lib.mkIf (cfg.enable && config.my.servers.postgres.enable && config.my.secureHost) { sops.secrets.yamtrack.sopsFile = ../../secrets/env.yaml; virtualisation.oci-containers.containers = { - yamtrack-redis.image = "redis:7-alpine"; + yamtrack-redis.image = "redis:latest"; yamtrack = { - image = "ghcr.io/fuzzygrim/yamtrack"; + image = "ghcr.io/fuzzygrim/yamtrack:latest"; ports = [ "${toString cfg.port}:8000" ]; dependsOn = [ "yamtrack-redis" ]; environmentFiles = [ config.sops.secrets.yamtrack.path ];