1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

networking: don't set NetBIOSName

This doesn't look like the hostname on my system, it has an extra unique prefix.
This commit is contained in:
Daiderd Jordan 2018-01-17 20:07:49 +01:00
parent 4d4acf6550
commit d4b34322c5
No known key found for this signature in database
GPG key ID: D02435D05B810C96
2 changed files with 0 additions and 3 deletions

View file

@ -69,8 +69,6 @@ in
(mkIf (cfg.knownNetworkServices == [] && cfg.search != []) "networking.knownNetworkServices is empty, dns searchdomains will not be configured.")
];
system.defaults.smb.NetBIOSName = cfg.hostName;
system.activationScripts.networking.text = ''
echo "configuring networking..." >&2

View file

@ -9,6 +9,5 @@
grep "scutil --set LocalHostName 'EVE'" ${config.out}/activate
grep "scutil --set HostName 'EVE'" ${config.out}/activate
echo checking defaults write in ${config.out}/activate-user >&2
grep "defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server 'NetBIOSName' -string 'EVE'" ${config.out}/activate-user
'';
}