summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2022-07-16 05:06:22 +0200
committerAlan Pearce2022-07-16 05:06:22 +0200
commitbcc23db1ed7b5691fedebfedb799c1468bbd598d (patch)
tree3a9843891638d14efd2f0f79890ace13ee235ffe
parent23558ff1093a67f85c1d54f481b8800793578669 (diff)
downloadnixfiles-bcc23db1ed7b5691fedebfedb799c1468bbd598d.tar.lz
nixfiles-bcc23db1ed7b5691fedebfedb799c1468bbd598d.tar.zst
nixfiles-bcc23db1ed7b5691fedebfedb799c1468bbd598d.zip
prefect: remove transmission, samba
-rw-r--r--system/prefect.nix30
1 files changed, 0 insertions, 30 deletions
diff --git a/system/prefect.nix b/system/prefect.nix
index 453b0771..ce72a4fb 100644
--- a/system/prefect.nix
+++ b/system/prefect.nix
@@ -123,35 +123,5 @@
     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" ];
-
-  services.samba = {
-    extraConfig = ''
-      hosts allow = 172.30.42. 127.0.0.1 localhost
-      hosts deny = 0.0.0.0/0
-    '';
-    shares = {
-      Music = {
-        path = "/mnt/data/Home/Music/";
-        browseable = "yes";
-        "read only" = "yes";
-        "guest ok" = "yes";
-        "create mask" = "0644";
-        "directory mask" = "0755";
-        "force user" = "alan";
-        "force group" = "users";
-      };
-    };
-  };
-
   system.stateVersion = "22.05";
 }