summary refs log tree commit diff stats
path: root/system/settings
diff options
context:
space:
mode:
authorAlan Pearce2022-10-08 03:32:31 +0200
committerAlan Pearce2022-10-08 03:32:31 +0200
commitfc975d16c41c4f92f3e3dde4a837be52051b4e77 (patch)
tree418abb1dcff6ac4d6b2282592dfdb587a9ad0463 /system/settings
parentad252750a5f086a3fecceacc5a5eaff3d080ab9d (diff)
downloadnixfiles-fc975d16c41c4f92f3e3dde4a837be52051b4e77.tar.lz
nixfiles-fc975d16c41c4f92f3e3dde4a837be52051b4e77.tar.zst
nixfiles-fc975d16c41c4f92f3e3dde4a837be52051b4e77.zip
Port mba darwin configuration to flakes
Diffstat (limited to 'system/settings')
-rw-r--r--system/settings/darwin.nix4
1 files changed, 3 insertions, 1 deletions
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