From 88638827c34bfc5ff0521bf62c93baf1e3a25bd7 Mon Sep 17 00:00:00 2001 From: Geir Okkenhaug Jerstad Date: Thu, 5 Jun 2025 17:04:29 +0200 Subject: [PATCH] fix: temporarily disable Transmission due to build issues - Disable Transmission service due to compilation errors in unstable - Keep download directory creation for future re-enablement - Remove Transmission firewall port (9091) from sleeper-service - Focus on deploying NFS server functionality first This allows sleeper-service deployment to proceed with NFS services while Transmission package issues are resolved upstream. --- machines/sleeper-service/configuration.nix | 2 +- modules/system/transmission.nix | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/machines/sleeper-service/configuration.nix b/machines/sleeper-service/configuration.nix index e5616e9..55c0785 100644 --- a/machines/sleeper-service/configuration.nix +++ b/machines/sleeper-service/configuration.nix @@ -54,7 +54,7 @@ programs.zsh.enable = true; # Firewall configuration - networking.firewall.allowedTCPPorts = [ 22 9091 ]; # SSH and Transmission RPC + networking.firewall.allowedTCPPorts = [ 22 ]; # SSH only (Transmission disabled temporarily) system.stateVersion = "25.05"; } \ No newline at end of file diff --git a/modules/system/transmission.nix b/modules/system/transmission.nix index 329f892..9dee4d8 100644 --- a/modules/system/transmission.nix +++ b/modules/system/transmission.nix @@ -1,8 +1,10 @@ { config, pkgs, ... }: { + # Transmission temporarily disabled due to build issues + # Will re-enable once package is stable services.transmission = { - enable = true; + enable = false; user = "geir"; group = "users"; settings.rpc-port = 9091; @@ -14,4 +16,9 @@ rpc-host-whitelist = "sleeper-service,localhost"; }; }; + + # Ensure downloads directory exists even without Transmission + systemd.tmpfiles.rules = [ + "d /mnt/storage/downloads 0755 geir users -" + ]; }