{ config, ... }: { services.samba = { enable = true; openFirewall = true; settings = { global = { "workgroup" = "WORKGROUP"; "server string" = "${config.networking.hostName}"; "netbios name" = "${config.networking.hostName}"; "security" = "user"; }; }; }; }