75 lines
1.6 KiB
Nix
75 lines
1.6 KiB
Nix
{ config, pkgs, catppuccin-themes, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./accounts.nix
|
|
./alacritty.nix
|
|
./firefox.nix
|
|
./fzf.nix
|
|
./git.nix
|
|
./media.nix
|
|
./pass.nix
|
|
./ssh.nix
|
|
./starship.nix
|
|
./tmux.nix
|
|
./zathura.nix
|
|
./hyprland/default.nix
|
|
./emacs/default.nix
|
|
];
|
|
home.packages = with pkgs; [ dig silver-searcher gnumake rink ];
|
|
programs = {
|
|
bash.enable = true;
|
|
readline = {
|
|
enable = true;
|
|
includeSystemConfig = true;
|
|
extraConfig = ''
|
|
set completion-ignore-case On
|
|
'';
|
|
};
|
|
direnv = {
|
|
enable = true;
|
|
nix-direnv.enable = true;
|
|
enableBashIntegration = true;
|
|
enableZshIntegration = true;
|
|
};
|
|
zsh = {
|
|
enable = true;
|
|
enableAutosuggestions = true;
|
|
enableCompletion = true;
|
|
syntaxHighlighting.enable = true;
|
|
enableVteIntegration = true;
|
|
autocd = true;
|
|
dotDir = ".config/zsh";
|
|
historySubstringSearch.enable = true;
|
|
history.path = "${config.xdg.dataHome}/zsh/history";
|
|
initExtraFirst = ''
|
|
source ${catppuccin-themes.zsh}
|
|
'';
|
|
initExtra = ''
|
|
xdg-query-program () {
|
|
FILETYPE=$(xdg-mime query filetype $@)
|
|
DEFAULT=$(xdg-mime query default $FILETYPE)
|
|
echo "$FILETYPE -> $DEFAULT"
|
|
}
|
|
'';
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
plugins = [
|
|
# Productivity
|
|
"aliases"
|
|
"colored-man-pages"
|
|
"command-not-found"
|
|
"extract"
|
|
# Build tools
|
|
"git"
|
|
"gitignore"
|
|
# Misc
|
|
"lol"
|
|
"rand-quote"
|
|
];
|
|
theme = "";
|
|
};
|
|
};
|
|
};
|
|
}
|