all repos — nixfiles @ bcc23db1ed7b5691fedebfedb799c1468bbd598d

System and user configuration, managed by nix and home-manager

prefect: remove transmission, samba
Alan Pearce alan@alanpearce.eu
Sat, 16 Jul 2022 05:06:22 +0200
commit

bcc23db1ed7b5691fedebfedb799c1468bbd598d

parent

23558ff1093a67f85c1d54f481b8800793578669

1 files changed, 0 insertions(+), 30 deletions(-)

jump to
M system/prefect.nixsystem/prefect.nix
@@ -123,35 +123,5 @@ networking = {     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";
 }