summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/mba.nix1
-rw-r--r--system/settings/darwin.nix4
2 files changed, 4 insertions, 1 deletions
diff --git a/system/mba.nix b/system/mba.nix
index 6a896895..350eb430 100644
--- a/system/mba.nix
+++ b/system/mba.nix
@@ -25,6 +25,7 @@
   # $ darwin-rebuild changelog
   system.stateVersion = 4;
 
+  nix.package = pkgs.nixVersions.stable;
   # You should generally set this to the total number of logical cores in your system.
   # $ sysctl -n hw.ncpu
   nix.settings = {
diff --git a/system/settings/darwin.nix b/system/settings/darwin.nix
index 62859e7e..65d6f3ee 100644
--- a/system/settings/darwin.nix
+++ b/system/settings/darwin.nix
@@ -25,7 +25,9 @@
     enable = true;
     enableCompletion = false; # Causes >2s startup time, overlaps home-manager config
     enableBashCompletion = true;
-    loginShellInit = builtins.readFile "/System/Library/Templates/Data/private/etc/zprofile";
+    loginShellInit = ''
+      source /System/Library/Templates/Data/private/etc/zprofile
+    '';
     interactiveShellInit = ''
       if [[ "$(locale LC_CTYPE)" == "UTF-8" ]]; then
         setopt COMBINING_CHARS