From 05dd85210e465caa44ef7254f2781b2d12ba2882 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 16 Oct 2022 23:49:18 +0200 Subject: Reformat files with alejandra --- system/settings/services/samba.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'system/settings/services/samba.nix') diff --git a/system/settings/services/samba.nix b/system/settings/services/samba.nix index 63283e88..729a6756 100644 --- a/system/settings/services/samba.nix +++ b/system/settings/services/samba.nix @@ -1,16 +1,16 @@ -{ config, pkgs, ... }: - -let - workgroup = "WORKGROUP"; - -in { + config, + pkgs, + ... +}: let + workgroup = "WORKGROUP"; +in { services.samba-wsdd = { inherit workgroup; enable = true; }; - networking.firewall.allowedTCPPorts = [ 5357 ]; - networking.firewall.allowedUDPPorts = [ 3702 ]; + networking.firewall.allowedTCPPorts = [5357]; + networking.firewall.allowedUDPPorts = [3702]; services.samba = { enable = true; -- cgit 1.4.1