- Formatted everything using Alejandra
- Added 'ncli format' as a quick command to format everything
This commit is contained in:
@ -1,15 +1,21 @@
|
||||
{ config, pkgs, username, project, ... }: {
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
username,
|
||||
project,
|
||||
...
|
||||
}: {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = false;
|
||||
autosuggestions = {
|
||||
enable = true;
|
||||
highlightStyle = "fg=242"; # Lighter gray shadow (0-255 scale)
|
||||
highlightStyle = "fg=242"; # Lighter gray shadow (0-255 scale)
|
||||
};
|
||||
|
||||
ohMyZsh = {
|
||||
enable = true;
|
||||
plugins = [ "git" ];
|
||||
plugins = ["git"];
|
||||
};
|
||||
|
||||
shellInit = ''
|
||||
@ -17,7 +23,7 @@
|
||||
eval "$(${pkgs.zoxide}/bin/zoxide init zsh --cmd cd)"
|
||||
'';
|
||||
|
||||
#To reset powerlevel10k, write 'p10k configure' in shell!
|
||||
#To reset powerlevel10k, write 'p10k configure' in shell!
|
||||
promptInit = ''
|
||||
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
|
||||
|
||||
@ -26,7 +32,7 @@
|
||||
bindkey -M menuselect '^[[C' .forward-char '^[OC' .forward-char
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
users.users.cookiez.shell = pkgs.zsh;
|
||||
environment.systemPackages = [
|
||||
pkgs.oh-my-zsh
|
||||
|
||||
Reference in New Issue
Block a user