2023-01-02 03:19:47 +00:00
|
|
|
{ pkgs, config, lib, ... }:
|
2023-01-01 21:00:23 +00:00
|
|
|
{
|
|
|
|
services.nix-daemon.enable = true;
|
2023-01-01 21:17:28 +00:00
|
|
|
programs.zsh.enable = true;
|
2023-01-02 02:16:02 +00:00
|
|
|
|
2023-01-01 21:17:28 +00:00
|
|
|
system.defaults.dock.autohide = true;
|
2023-01-02 02:16:02 +00:00
|
|
|
|
2023-01-01 21:17:28 +00:00
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.tyrel = { pkgs, ... }: {
|
2023-01-02 02:16:02 +00:00
|
|
|
programs.home-manager.enable = true;
|
2023-01-01 21:17:28 +00:00
|
|
|
home.stateVersion = "22.05";
|
2023-01-02 02:16:02 +00:00
|
|
|
|
2023-01-02 03:19:47 +00:00
|
|
|
home.file = {
|
|
|
|
bin.source = lib.file.mkOutOfStoreSymlink "../../bin";
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-01-02 02:43:59 +00:00
|
|
|
home.sessionVariables = {
|
|
|
|
PAGER = "less -R";
|
|
|
|
EDITOR = "nvim";
|
|
|
|
};
|
|
|
|
|
2023-01-02 02:16:02 +00:00
|
|
|
home.packages = with pkgs; [
|
2023-01-02 02:43:59 +00:00
|
|
|
ctags
|
2023-01-02 03:19:47 +00:00
|
|
|
fzf
|
2023-01-02 02:43:59 +00:00
|
|
|
ripgrep
|
|
|
|
wget
|
2023-01-02 02:16:02 +00:00
|
|
|
];
|
|
|
|
|
2023-01-02 02:43:59 +00:00
|
|
|
programs.tmux = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2023-01-02 03:19:47 +00:00
|
|
|
#home.file.".tmux".source = "../../tmux";
|
|
|
|
#home.file.".tmux.conf".source = "../../tmux.conf";
|
2023-01-02 02:16:02 +00:00
|
|
|
|
2023-01-02 02:43:59 +00:00
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
includes = [
|
|
|
|
{ path = "~/code/tyrel.dev/dotfiles/gitconfig"; }
|
|
|
|
];
|
|
|
|
aliases = {
|
|
|
|
ap = "add -p";
|
|
|
|
};
|
|
|
|
extraConfig = {
|
|
|
|
pull.ff = "only";
|
|
|
|
};
|
|
|
|
};
|
2023-01-02 02:16:02 +00:00
|
|
|
|
2023-01-02 02:43:59 +00:00
|
|
|
programs.neovim = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
xdg.configFile = {
|
|
|
|
"nvim" = {
|
|
|
|
source = ../../config/nvim;
|
|
|
|
recursive = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-01-02 03:19:47 +00:00
|
|
|
programs.fish = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
xdg.configFile = {
|
|
|
|
"fish" = {
|
|
|
|
source = ../../config/fish;
|
|
|
|
recursive = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
programs.htop = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
#xdg.configFile = {
|
|
|
|
# "htop" = {
|
|
|
|
# source = ../../config/htop;
|
|
|
|
# recursive = true;
|
|
|
|
# };
|
|
|
|
#};
|
2023-01-02 02:43:59 +00:00
|
|
|
|
|
|
|
}; # -- HomeManager
|
|
|
|
|
2023-01-02 00:47:41 +00:00
|
|
|
homebrew = {
|
|
|
|
enable = true;
|
|
|
|
casks = [
|
2023-01-02 02:43:59 +00:00
|
|
|
"alfred"
|
|
|
|
"discord"
|
|
|
|
"slack"
|
|
|
|
"karabiner-elements"
|
2023-01-02 00:47:41 +00:00
|
|
|
];
|
|
|
|
};
|
2023-01-01 21:00:23 +00:00
|
|
|
|
2023-01-02 02:16:02 +00:00
|
|
|
fonts.fonts = with pkgs; [
|
|
|
|
noto-fonts
|
|
|
|
dejavu_fonts
|
|
|
|
nerdfonts # Includes font-awesome, material-icons, powerline-fonts
|
|
|
|
iosevka
|
|
|
|
];
|
|
|
|
|
2023-01-01 21:00:23 +00:00
|
|
|
}
|