dotfiles/hosts/ts-tl-mbp/home-manager.nix

85 lines
1.4 KiB
Nix
Raw Normal View History

2023-01-02 03:25:14 +00:00
{ pkgs, ... }:
2023-01-02 03:24:23 +00:00
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.tyrel = { pkgs, ... }: {
programs.home-manager.enable = true;
home.stateVersion = "22.05";
home.sessionVariables = {
PAGER = "less -R";
EDITOR = "nvim";
};
home.packages = with pkgs; [
2023-01-02 05:04:28 +00:00
bat
2023-01-02 03:24:23 +00:00
ctags
2023-01-02 03:44:45 +00:00
exa
2023-01-02 03:24:23 +00:00
fzf
ripgrep
wget
];
programs.tmux = {
enable = true;
};
2023-01-02 05:04:28 +00:00
home.file = {
".tmux.conf" = {
source = ../../home/tmux.conf;
recursive = true;
};
};
2023-01-02 03:24:23 +00:00
programs.git = {
enable = true;
includes = [
2023-01-02 05:04:28 +00:00
{ path = "~/code/tyrel.dev/dotfiles/home/gitconfig"; }
2023-01-02 03:24:23 +00:00
];
aliases = {
ap = "add -p";
};
extraConfig = {
pull.ff = "only";
};
};
programs.neovim = {
enable = true;
};
programs.fish = {
enable = true;
};
2023-01-02 05:04:28 +00:00
2023-01-02 03:24:23 +00:00
programs.htop = {
enable = true;
};
#xdg.configFile = {
# "htop" = {
2023-01-02 05:04:28 +00:00
# source = ../../home/config/htop;
2023-01-02 03:24:23 +00:00
# recursive = true;
# };
#};
2023-01-02 03:55:07 +00:00
2023-01-02 05:04:28 +00:00
# XDG CONFIGS
2023-01-02 03:55:07 +00:00
xdg.configFile = {
2023-01-02 05:04:28 +00:00
"nvim" = {
source = ../../home/config/nvim;
recursive = true;
};
"fish" = {
source = ../../home/config/fish;
recursive = true;
};
2023-01-02 03:55:07 +00:00
"karabiner" = {
2023-01-02 05:04:28 +00:00
source = ../../home/config/karabiner;
2023-01-02 03:55:07 +00:00
recursive = true;
};
};
2023-01-02 03:24:23 +00:00
}; # -- HomeManager
}