nixvimConfig/modules/home/bundles/core.nix
2024-08-04 21:06:57 +02:00

88 lines
1.2 KiB
Nix

{
pkgs,
config,
inputs,
...
}: {
imports = [
];
nixpkgs.config = {
allowUnfree = true;
experimental-features = "nix-command flakes";
};
programs.home-manager.enable = true;
home.packages = with pkgs; [
# nix
nil
nh
tldr
git
lazygit
tree-sitter
# file-management
ranger
pistol
file
p7zip
unzip
zip
# tools
killall
fzf
eza # ls-replacement
fd
zoxide
bat
dust
ripgrep
fastfetch
wget
lsd
numbat
zellij
inputs.nixvim-config.packages.${pkgs.system}.default
];
home.sessionVariables = {
EDITOR = "nvim";
};
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
shellAliases = {
ll = "lsd -l";
lg = "lazygit";
};
history = {
size = 10000;
path = "${config.xdg.dataHome}/zsh/history";
};
oh-my-zsh = {
enable = true;
plugins = [ "git" "zoxide" ];
};
};
programs.neovim = {
enable = false;
defaultEditor = false;
# package = inputs.nixvim-config.packages.${pkgs.system}.default;
};
}