Add Nvim and Kitty config
This commit is contained in:
parent
4642299aae
commit
62ff6069b9
8 changed files with 3152 additions and 86 deletions
45
commons/programs/zsh.nix
Normal file
45
commons/programs/zsh.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ ... }: {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
shellAliases = {
|
||||
update = "sudo nixos-rebuild switch --flake /home/zuma/nix_files#t0urn3s0l";
|
||||
};
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [ "git" ];
|
||||
theme = "robbyrussell";
|
||||
};
|
||||
};
|
||||
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
add_newline = false;
|
||||
command_timeout = 1300;
|
||||
scan_timeout = 50;
|
||||
format = "$username@$hostname:$directory$character";
|
||||
|
||||
hostname = {
|
||||
disabled = false;
|
||||
format = "[$ssh_symbol](blue dimmed bold)[$hostname]($style)";
|
||||
ssh_only = false;
|
||||
style = "green dimmed bold";
|
||||
};
|
||||
|
||||
username = {
|
||||
format = "[$user]($style)";
|
||||
show_always = true;
|
||||
style_root = "red bold bg:0x9A348E";
|
||||
style_user = "yellow bold bg:0x9A348E";
|
||||
disabled = false;
|
||||
};
|
||||
|
||||
character = {
|
||||
success_symbol = "[](bold green)";
|
||||
error_symbol = "[](bold red)";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue