This commit is contained in:
lsoriano-mcm
2025-06-23 16:54:51 -05:00
parent cc7aa6df6a
commit fe79d7a2c4
4 changed files with 58 additions and 0 deletions
+1
View File
@@ -6,5 +6,6 @@
../packages/neovim/default.nix
../packages/starship/default.nix
../packages/fastfetch/default.nix
../packages/zsh/default.nix
];
}
+5
View File
@@ -0,0 +1,5 @@
{...}: {
imports = [
../system/gaming.nix
];
}
+40
View File
@@ -0,0 +1,40 @@
{
pkgs,
terminal,
...
}: {
home.packages = with pkgs; [
zoxide
];
programs.zsh.enable = true;
programs.zoxide.enable = true;
programs.zsh = {
enableCompletion = false;
syntaxHighlighting.enable = false;
shellAliases = terminal.shellAliases;
history.size = 10000;
antidote = {
enable = true;
plugins = [
"MichaelAquilina/zsh-autoswitch-virtualenv"
"jeffreytse/zsh-vi-mode"
"zdharma-continuum/fast-syntax-highlighting kind:defer"
"zsh-users/zsh-autosuggestions kind:defer"
"zsh-users/zsh-history-substring-search kind:defer"
];
};
initContent = ''
# zsh-autocomplete
# bindkey -M menuselect '^M' .accept-line # run code when selected completion
autoload -Uz compinit
if [ "$(date +'%j')" != "$(stat -f '%Sm' -t '%j' ~/.zcompdump 2>/dev/null)" ]; then
compinit
else
compinit -C
fi
'';
};
}
+12
View File
@@ -0,0 +1,12 @@
{
pkgs,
inputs,
...
}: let
unlisted-fonts = inputs.unlisted-fonts.packages.${pkgs.system};
in {
fonts.packages = with pkgs; [
unlisted-fonts.rubik
nerd-fonts.jetbrains-mono
];
}