From ec1a7e5d2ff8f53ccb58f83a4239717067a3b951 Mon Sep 17 00:00:00 2001 From: Joseph Long Date: Sun, 8 Oct 2017 11:29:36 -0700 Subject: [PATCH] Fix #47: hostName now sets NetBIOS name --- modules/networking/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/networking/default.nix b/modules/networking/default.nix index 634618e..162b9cf 100644 --- a/modules/networking/default.nix +++ b/modules/networking/default.nix @@ -10,6 +10,7 @@ let scutil --set ComputerName "${cfg.hostName}" scutil --set LocalHostName "${cfg.hostName}" scutil --set HostName "${cfg.hostName}" + defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string "${cfg.hostName}" ''; in