From 445af791c847ce4bac77b36bf6aceda2c58eb60b Mon Sep 17 00:00:00 2001 From: sils Date: Sun, 11 Dec 2022 14:24:09 +0100 Subject: restructure zsh.nix --- zsh.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'zsh.nix') 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"; }; } -- cgit 1.4.1