fix: use lib.mkMerge for initContent

This commit is contained in:
mikl 2026-07-01 00:35:26 +03:00
parent f1a8c729d1
commit c1dbd64b40

View file

@ -54,10 +54,11 @@
'';
# Init content - uses lib.mkBefore to run before home-manager generated code
initContent = lib.mkBefore ''
initContent = lib.mkMerge [
(lib.mkBefore ''
export PATH="/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:$PATH"
'')
''
+ ''
# Show fastfetch on shell start
echo
fastfetch
@ -75,6 +76,7 @@
zstyle ':prompt:pure:prompt:success' symbol ">"
zstyle ':prompt:pure:prompt:error' color red
zstyle ':prompt:pure:prompt:error' symbol ">"
'';
''
];
};
}