1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-13 20:30:02 +00:00

Fix #47: hostName now sets NetBIOS name

This commit is contained in:
Joseph Long 2017-10-08 11:29:36 -07:00
parent 3efff52877
commit ec1a7e5d2f

View file

@ -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