115 current 2024-05-08 22:27:54 24.05.20240419.5c24cf2 6.6.28 *

This commit is contained in:
sadanslargehole 2024-05-08 22:28:06 -04:00
parent 13eac378c6
commit b422dd8c72
No known key found for this signature in database
GPG key ID: B2E2F4A5161A7800

View file

@ -1,13 +1,19 @@
{ config, pkgs, inputs, ... }: { config, lib, pkgs, inputs, ... }:
let let
cpkg = import ../../customPackages { inherit pkgs; }; cpkg = import ../../customPackages { inherit pkgs; };
zshInitArgs = [
"source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme"
"source ${pkgs.zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
"[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh"
"setopt globstarshort"
];
_z1 = lib.concatMapStrings (x: x + "\n") zshInitArgs;
in in
{ {
programs.zsh.enable = true; programs.zsh.enable = true;
programs.zsh.oh-my-zsh.enable = true; programs.zsh.oh-my-zsh.enable = true;
programs.zsh.initExtra = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme" + "\n" + "source ${pkgs.zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" + "\n" + "[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh"; programs.zsh.initExtra = builtins.trace _z1 _z1;
programs.zoxide.enable = true; programs.zoxide.enable = true;
programs.zoxide.enableZshIntegration = true; programs.zoxide.enableZshIntegration = true;