summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorpjan vandaele <pjan.vandaele@gmail.com>2018-01-04 15:36:33 +0900
committerpjan vandaele <pjan.vandaele@gmail.com>2018-01-04 15:36:33 +0900
commit062f14eb55622277bd5e37006b5447a82d02ee15 (patch)
tree5c9277ebbed92b73ce6f7c9d2be73dfb777ee38c /modules
parent02a11717a4f8e6775da8e19f11371e96d931d051 (diff)
Closes #47. Adds tests for networking
Diffstat (limited to 'modules')
-rw-r--r--modules/networking/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/networking/default.nix b/modules/networking/default.nix
index 634618e..3840145 100644
--- a/modules/networking/default.nix
+++ b/modules/networking/default.nix
@@ -10,6 +10,7 @@ let
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