mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-31 04:04:45 +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:
parent
4d4acf6550
commit
d4b34322c5
2 changed files with 0 additions and 3 deletions
|
@ -69,8 +69,6 @@ in
|
||||||
(mkIf (cfg.knownNetworkServices == [] && cfg.search != []) "networking.knownNetworkServices is empty, dns searchdomains will not be configured.")
|
(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 = ''
|
system.activationScripts.networking.text = ''
|
||||||
echo "configuring networking..." >&2
|
echo "configuring networking..." >&2
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,5 @@
|
||||||
grep "scutil --set LocalHostName 'EVE'" ${config.out}/activate
|
grep "scutil --set LocalHostName 'EVE'" ${config.out}/activate
|
||||||
grep "scutil --set HostName 'EVE'" ${config.out}/activate
|
grep "scutil --set HostName 'EVE'" ${config.out}/activate
|
||||||
echo checking defaults write in ${config.out}/activate-user >&2
|
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…
Add table
Reference in a new issue