1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-28 18:57:08 +00:00

Merge pull request #51 from joseph-long/set-netbios-name

Set NetBIOS name with hostName
This commit is contained in:
Daiderd Jordan 2018-01-04 23:56:02 +01:00 committed by GitHub
commit 7ed9cb0c46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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