dotfiles/hosts/ts-tl-mbp/default.nix
2023-01-01 22:19:47 -05:00

102 lines
1.8 KiB
Nix

{ pkgs, config, lib, ... }:
{
services.nix-daemon.enable = true;
programs.zsh.enable = true;
system.defaults.dock.autohide = true;
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.tyrel = { pkgs, ... }: {
programs.home-manager.enable = true;
home.stateVersion = "22.05";
home.file = {
bin.source = lib.file.mkOutOfStoreSymlink "../../bin";
};
home.sessionVariables = {
PAGER = "less -R";
EDITOR = "nvim";
};
home.packages = with pkgs; [
ctags
fzf
ripgrep
wget
];
programs.tmux = {
enable = true;
};
#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;
};
};
programs.fish = {
enable = true;
};
xdg.configFile = {
"fish" = {
source = ../../config/fish;
recursive = true;
};
};
programs.htop = {
enable = true;
};
#xdg.configFile = {
# "htop" = {
# source = ../../config/htop;
# recursive = true;
# };
#};
}; # -- HomeManager
homebrew = {
enable = true;
casks = [
"alfred"
"discord"
"slack"
"karabiner-elements"
];
};
fonts.fonts = with pkgs; [
noto-fonts
dejavu_fonts
nerdfonts # Includes font-awesome, material-icons, powerline-fonts
iosevka
];
}