Initial commit
This commit is contained in:
commit
4256a94080
22 changed files with 1179 additions and 0 deletions
45
programs/zsh/default.nix
Normal file
45
programs/zsh/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
programs.command-not-found.enable = true;
|
||||
|
||||
home-manager.users.charlotte = { pkgs, ... }: {
|
||||
home.packages = [ pkgs.autojump ];
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableAutosuggestions = true;
|
||||
dotDir = ".config/zsh";
|
||||
history.path = "\$HOME/.config/zsh/zsh_history";
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
"autojump"
|
||||
"command-not-found"
|
||||
"common-aliases"
|
||||
"extract"
|
||||
"history-substring-search"
|
||||
"git"
|
||||
"sudo"
|
||||
"systemd"
|
||||
"tmux"
|
||||
];
|
||||
theme = "agnoster";
|
||||
};
|
||||
plugins = [
|
||||
{
|
||||
name = "zsh-syntax-highlighting";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "zsh-users";
|
||||
repo = "zsh-syntax-highlighting";
|
||||
rev = "0.6.0";
|
||||
sha256 = "0zmq66dzasmr5pwribyh4kbkk23jxbpdw4rjxx0i7dx8jjp2lzl4";
|
||||
};
|
||||
}
|
||||
];
|
||||
sessionVariables = {
|
||||
DEFAULT_USER = "charlotte";
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue