mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-09-11 12:49:18 +03: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:
parent
4d4acf6550
commit
d4b34322c5
@ -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
|
||||
|
||||
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user