diff options
| author | Joseph Long <github@joseph-long.com> | 2017-10-08 11:29:36 -0700 |
|---|---|---|
| committer | Joseph Long <github@joseph-long.com> | 2017-10-08 11:29:36 -0700 |
| commit | ec1a7e5d2ff8f53ccb58f83a4239717067a3b951 (patch) | |
| tree | 53cda71834c12c22360d6e56e60e78e678b10c83 /modules | |
| parent | 3efff5287715a55904d53e0632e87862dc582eea (diff) | |
Fix #47: hostName now sets NetBIOS name
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/networking/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
