diff --git a/.gitignore b/.gitignore index 6869b77..45a1582 100644 --- a/.gitignore +++ b/.gitignore @@ -9,13 +9,17 @@ !/programs +/programs/* +!/programs/nvim /programs/nvim/* !/programs/nvim/init.vim !/programs/nvim/plugins +!/programs/tmux /programs/tmux/* !/programs/tmux/.tmux.conf +!/programs/alacritty /programs/alacritty/* !/programs/alacritty/alacritty.yml diff --git a/nix/home.nix b/nix/home.nix index e2a89c3..66aa325 100644 --- a/nix/home.nix +++ b/nix/home.nix @@ -22,6 +22,20 @@ in # Let Home Manager install and manage itself. programs.home-manager.enable = true; + programs.zsh = { + enable = true; + enableAutosuggestions = true; + defaultKeymap = "viins"; + dotDir = ".config/zsh"; + + history.path = "${config.xdg.dataHome}/zsh/zsh_history"; + + oh-my-zsh = { + enable = true; + theme = "robbyrussell"; + }; + }; + programs.git = { enable = true; userName = secrets.git.name; @@ -43,7 +57,10 @@ in programs.exa = { enable = true; - # TODO: install zsh and activate aliases - # enableAliases = true; + enableAliases = true; + }; + + xdg.configFile = { + "alacritty/alacritty.yml".source = ../programs/alacritty/alacritty.yml; }; }