aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--zsh.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/zsh.nix b/zsh.nix
index e8a05d4..7d24aac 100644
--- a/zsh.nix
+++ b/zsh.nix
@@ -1,11 +1,11 @@
{ config, pkgs, ... }:
{
- programs = {
- zsh.enable = true;
- zsh.syntaxHighlighting.enable = true;
- zsh.autosuggestions.enable = true;
- zsh.interactiveShellInit = ''
+ programs.zsh = {
+ enable = true;
+ syntaxHighlighting.enable = true;
+ autosuggestions.enable = true;
+ interactiveShellInit = ''
export ZSH=${pkgs.oh-my-zsh}/share/oh-my-zsh/
export fpath=("$XDG_DATA_HOME/zsh/site-functions" $fpath)
HISTFILE="$XDG_STATE_HOME/zsh/history"
@@ -43,6 +43,6 @@
source $ZSH/oh-my-zsh.sh
'';
- zsh.promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
+ promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
};
}