feat: reconfigure
This commit is contained in:
parent
00f3a285dd
commit
c71407281c
13 changed files with 252 additions and 120 deletions
1
profiles/develop/common.nix
Normal file
1
profiles/develop/common.nix
Normal file
|
@ -0,0 +1 @@
|
|||
{ imports = [ ./zsh ]; }
|
8
profiles/develop/neovim.nix
Normal file
8
profiles/develop/neovim.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ ... }: {
|
||||
programs.neovim = {
|
||||
defaultEditor = true;
|
||||
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
};
|
||||
}
|
45
profiles/develop/zsh.nix
Normal file
45
profiles/develop/zsh.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ ... }: {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
autosuggestions.enable = true;
|
||||
ohMyZsh = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
# Display
|
||||
"colorize"
|
||||
"colored-man-pages"
|
||||
|
||||
# zsh modifications
|
||||
"zsh-interactive-cd"
|
||||
"zsh_reload"
|
||||
"command-not-found"
|
||||
|
||||
# Aliases
|
||||
"alias-finder"
|
||||
|
||||
# Applications
|
||||
## Docker
|
||||
"docker"
|
||||
## Python
|
||||
"pip"
|
||||
"python"
|
||||
## Systemd
|
||||
"systemd"
|
||||
## Git
|
||||
"git"
|
||||
"github"
|
||||
"gitignore"
|
||||
## Emacs
|
||||
"emacs"
|
||||
## Vim
|
||||
"fancy-ctrl-z"
|
||||
];
|
||||
};
|
||||
syntaxHighlighting = {
|
||||
enable = true;
|
||||
highlighters = [ "main" "brackets" "pattern" "cursor" ];
|
||||
patterns = { "rm -rf *" = "fg=white,bold,bg=red"; };
|
||||
};
|
||||
zsh-autoenv.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue