summaryrefslogtreecommitdiff
path: root/modules/networking
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-01-05 00:02:21 +0100
committerDaiderd Jordan <daiderd@gmail.com>2018-01-05 00:02:21 +0100
commit2c4444ede40fe9cad3a11d5eee6d47c90c9edabe (patch)
treef3e9ddde7b9e41b08bdd170f97f3a6b57392d8c5 /modules/networking
parent7ed9cb0c4694a4c51859d3766820b9b6ba0cdb0d (diff)
parent062f14eb55622277bd5e37006b5447a82d02ee15 (diff)
Merge pull request #64 from pjan/fix/47
Diffstat (limited to 'modules/networking')
-rw-r--r--modules/networking/default.nix8
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