dotfiles/users/functionalhacker/home.nix
2024-09-16 21:57:08 +03:00

53 lines
1.1 KiB
Nix

{ config, pkgs, ... }:
{
programs = {
neovim = {
enable = true;
defaultEditor = true;
};
zsh = {
enable = true;
zplug = {
enable = true;
plugins = [
{ name = "mafredri/zsh-async"; }
{
name = "sindresorhus/pure";
tags = [ "use:pure.zsh" "as:theme" ];
}
{ name = "Aloxaf/fzf-tab"; }
{ name = "zsh-users/zsh-history-substring-search"; }
{ name = "wfxr/forgit"; }
{ name = "zsh-users/zsh-completions"; }
{ name = "zdharma-continuum/fast-syntax-highlighting"; }
{ name = "RobSis/zsh-completion-generator"; }
];
};
};
};
home = {
username = "functionalhacker";
homeDirectory = "/home/functionalhacker";
stateVersion = "24.05";
file.".config/nvim".source =
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/git/dotfiles/home/.config/nvim";
packages = with pkgs; [
cargo
fd
fzf
gcc
neovide
nerdfonts
nodejs
pass
ripgrep
tree-sitter
yarn
];
};
}