summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2022-06-20 16:25:48 +0200
committerAlan Pearce2022-06-23 22:38:23 +0200
commit2f4fd4b7323fa10f54e3c4d4b2392fa75cd34211 (patch)
treec64aba3cd630fe0b008569a44a9280abc5979993 /system
parent98118dee608e25c8096d6c3ed79a62bed285f3a6 (diff)
downloadnixfiles-2f4fd4b7323fa10f54e3c4d4b2392fa75cd34211.tar.lz
nixfiles-2f4fd4b7323fa10f54e3c4d4b2392fa75cd34211.tar.zst
nixfiles-2f4fd4b7323fa10f54e3c4d4b2392fa75cd34211.zip
prefect: install transmission service
Diffstat (limited to 'system')
-rw-r--r--system/prefect.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/prefect.nix b/system/prefect.nix
index 4d62f94d..565c8084 100644
--- a/system/prefect.nix
+++ b/system/prefect.nix
@@ -101,5 +101,16 @@
     hostName = "prefect";
   };
 
+  services.transmission = {
+    enable = true;
+    openFirewall = true;
+    user = "alan";
+    group = "users";
+    settings = {
+      download-dir = "/mnt/data/Transmission/Storage";
+    };
+  };
+  systemd.services.transmission.requires = [ "mnt-data.mount" ];
+
   system.stateVersion = "22.05";
 }