diff --git a/fileserver/#transmission.nix# b/fileserver/#transmission.nix# deleted file mode 100644 index 6f2ce16..0000000 --- a/fileserver/#transmission.nix# +++ /dev/null @@ -1,9 +0,0 @@ -{ config, pkgs, ... }: - -{ - services.transmission = { - enable = true; - home = "/mnt/storage/"; - - }; -} diff --git a/fileserver/.#transmission.nix b/fileserver/.#transmission.nix deleted file mode 120000 index 53c747b..0000000 --- a/fileserver/.#transmission.nix +++ /dev/null @@ -1 +0,0 @@ -geir@idea.3072:1716189222 \ No newline at end of file diff --git a/fileserver/configuration.nix b/fileserver/configuration.nix index 9407c93..651b11a 100644 --- a/fileserver/configuration.nix +++ b/fileserver/configuration.nix @@ -9,7 +9,6 @@ [ # Include the results of the hardware scan. ./hardware-configuration.nix ./transmission.nix - ./deluge.nix ]; # Kernel diff --git a/fileserver/rtorrent.nix b/fileserver/rtorrent.nix new file mode 100644 index 0000000..fa08c11 --- /dev/null +++ b/fileserver/rtorrent.nix @@ -0,0 +1,10 @@ +{ pkgs, config, ... }: +{ + services.rtorrent = { + enable = true; + user = "geir"; + group = "users"; + #dataDir = "/mnt/storage"; + downloadDir = "/mnt/storage"; + }; +} diff --git a/fileserver/transmission.nix b/fileserver/transmission.nix index 3d7d6de..d7f2d7c 100644 --- a/fileserver/transmission.nix +++ b/fileserver/transmission.nix @@ -3,5 +3,10 @@ { services.transmission = { enable = true; + home = "/mnt/storage/"; + settings.rpc-port = 9091; + settings.rpc-bind-address = "0.0.0.0"; + openRPCPort = true; + }; }