From fc975d16c41c4f92f3e3dde4a837be52051b4e77 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 8 Oct 2022 03:32:31 +0200 Subject: Port mba darwin configuration to flakes --- system/settings/darwin.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'system/settings/darwin.nix') 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 -- cgit 1.4.1