diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2018-01-05 00:02:21 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2018-01-05 00:02:21 +0100 |
| commit | 2c4444ede40fe9cad3a11d5eee6d47c90c9edabe (patch) | |
| tree | f3e9ddde7b9e41b08bdd170f97f3a6b57392d8c5 /modules | |
| parent | 7ed9cb0c4694a4c51859d3766820b9b6ba0cdb0d (diff) | |
| parent | 062f14eb55622277bd5e37006b5447a82d02ee15 (diff) | |
Merge pull request #64 from pjan/fix/47
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/networking/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/networking/default.nix b/modules/networking/default.nix index 162b9cf..0eed284 100644 --- a/modules/networking/default.nix +++ b/modules/networking/default.nix @@ -7,10 +7,10 @@ let cfg = config.networking; hostName = optionalString (cfg.hostName != null) '' - 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}" + 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 |
