Evie Litherland-Smith
22dbc09500
Add options to desktop.nix from home/default.nix that are desktop-relevant. Add mimeapp config back from nixos system config Move fd, ripgrep to enabled programs, remmina to enable service Emacs config now imports shell config to ensure requirements are met instead of duplicating some Move Zsh config into it's own file zsh.nix
31 lines
726 B
Nix
31 lines
726 B
Nix
{...}: {
|
|
programs.zsh = {
|
|
enable = true;
|
|
enableCompletion = true;
|
|
autocd = true;
|
|
autosuggestion.enable = true;
|
|
defaultKeymap = "emacs";
|
|
syntaxHighlighting = {
|
|
enable = true;
|
|
highlighters = ["brackets" "cursor"];
|
|
};
|
|
historySubstringSearch.enable = true;
|
|
history = {
|
|
extended = true;
|
|
share = true;
|
|
ignoreDups = true;
|
|
ignoreAllDups = true;
|
|
ignoreSpace = true;
|
|
expireDuplicatesFirst = true;
|
|
};
|
|
initExtra = ''
|
|
## completion config and styling
|
|
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
|
|
zstyle ':completion:*' menu 'select=long-list'
|
|
|
|
## transient prompt
|
|
source ${./transient.zsh}
|
|
'';
|
|
};
|
|
}
|