From e9d0ebc0e9511e53828c23cead6ba41af597ba0f Mon Sep 17 00:00:00 2001 From: s-prechtl Date: Sun, 11 May 2025 22:29:44 +0200 Subject: [PATCH] fix: settings --- hosts/saberofxebec/configuration.nix | 33 ++++++++++++++-------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/hosts/saberofxebec/configuration.nix b/hosts/saberofxebec/configuration.nix index 5a8a489..c409c10 100644 --- a/hosts/saberofxebec/configuration.nix +++ b/hosts/saberofxebec/configuration.nix @@ -130,24 +130,23 @@ in { Username = "Spr3eZ"; Password_PBKDF2 = "@ByteArray(rSRSjyLjKHX4KeDHgtx8qA==:EdZC27+FdG0aFtqVtEsiuqQAA6NROdBRXVSySD6ktgBY7k9ORrq8Kgo2uIkXvAWssmMIFb+C3RZS2PMWAt/Ihw==)"; }; + }; + AutoRun = { + OnTorrentAdded.Enabled = true; + OnTorrentAdded.Program = ''chmod -R 777 "%F/''; + enabled = true; + program = ''chmod -R 777 "%F/''; + }; - AutoRun = { - OnTorrentAdded.Enabled = true; - OnTorrentAdded.Program = ''chmod -R 777 "%F/''; - enabled = true; - program = ''chmod -R 777 "%F/''; - }; - - BitTorrent = { - Session.AddTorrentStopped = false; - Session.AlternativeGlobalDLSpeedLimit = 100000; - Session.AlternativeGlobalUPSpeedLimit = 1000; - Session.BandwidthSchedulerEnabled = true; - Session.ExcludedFileNames = ""; - Session.GlobalMaxInactiveSeedingMinutes = 1440; - Session.GlobalMaxRatio = 2; - Session.GlobalMaxSeedingMinutes = 1440; - }; + BitTorrent = { + Session.AddTorrentStopped = false; + Session.AlternativeGlobalDLSpeedLimit = 100000; + Session.AlternativeGlobalUPSpeedLimit = 1000; + Session.BandwidthSchedulerEnabled = true; + Session.ExcludedFileNames = ""; + Session.GlobalMaxInactiveSeedingMinutes = 1440; + Session.GlobalMaxRatio = 2; + Session.GlobalMaxSeedingMinutes = 1440; }; }; };