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:
commit
7ed9cb0c46
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