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:
parent
3efff52877
commit
ec1a7e5d2f
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue