This commit is contained in:
Tyrel Souza 2023-01-01 21:43:59 -05:00
parent 762111fc67
commit 64ad6c90b0

View File

@ -1,4 +1,4 @@
{ pkgs, ... }: { pkgs, config, ... }:
{ {
services.nix-daemon.enable = true; services.nix-daemon.enable = true;
programs.zsh.enable = true; programs.zsh.enable = true;
@ -11,38 +11,66 @@
programs.home-manager.enable = true; programs.home-manager.enable = true;
home.stateVersion = "22.05"; home.stateVersion = "22.05";
home.sessionVariables = {
PAGER = "less -R";
EDITOR = "nvim";
};
home.packages = with pkgs; [ home.packages = with pkgs; [
(neovim.override { fish
vimAlias = true; ctags
}) htop
fish ripgrep
htop wget
ripgrep
tmux
wget
]; ];
#home.file.".config/".source = "../../config/"; programs.tmux = {
#home.file."bin".source = "../../bin"; enable = true;
#home.file.".gitconfig".source = "gitconfig"; };
#home.file.".gitignore".source = "../../gitignore"; home.file.".tmux".source = "../../tmux";
#home.file.".hushlogin".source = "../../hushlogin"; home.file.".tmux.conf".source = "../../tmux.conf";
#home.file.".pythonstartup.py".source = "../../pythonstartup.py";
#home.file.".shell_aliases".source = "../../shell_aliases";
#home.file.".shell_funcs".source = "../../shell_funcs";
#home.file.".shell_funcs.fish".source = "../../shell_funcs.fish";
#home.file.".tmux".source = "../../tmux";
#home.file.".tmux.conf".source = "../../tmux.conf";
programs.git = {
enable = true;
includes = [
{ path = "~/code/tyrel.dev/dotfiles/gitconfig"; }
];
aliases = {
ap = "add -p";
};
extraConfig = {
pull.ff = "only";
};
};
}; programs.neovim = {
enable = true;
};
xdg.configFile = {
"nvim" = {
source = ../../config/nvim;
recursive = true;
};
};
#home.file."bin".source = "../../bin";
#home.file.".gitconfig".source = "gitconfig";
#home.file.".gitignore".source = "../../gitignore";
#home.file.".hushlogin".source = "../../hushlogin";
#home.file.".pythonstartup.py".source = "../../pythonstartup.py";
#home.file.".shell_aliases".source = "../../shell_aliases";
#home.file.".shell_funcs".source = "../../shell_funcs";
#home.file.".shell_funcs.fish".source = "../../shell_funcs.fish";
}; # -- HomeManager
homebrew = { homebrew = {
enable = true; enable = true;
casks = [ casks = [
"alfred" "alfred"
"discord" "discord"
"slack" "slack"
"karabiner-elements" "karabiner-elements"
]; ];
}; };