Working on reshuffling
This commit is contained in:
+15
-5
@@ -1317,10 +1317,9 @@ let
|
|||||||
username = "henrov";
|
username = "henrov";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# Zorg dat Home Manager actief is
|
# Activeer Home Manager (als NixOS module)
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
# Configureer Home Manager gebruiker
|
|
||||||
home-manager.users.${username} = {
|
home-manager.users.${username} = {
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -1328,20 +1327,23 @@ in
|
|||||||
|
|
||||||
ohMyZsh = {
|
ohMyZsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
theme = "catppuccin-mocha";
|
||||||
|
|
||||||
|
# Plugins in de juiste volgorde
|
||||||
plugins = [
|
plugins = [
|
||||||
"git"
|
"git"
|
||||||
"docker"
|
"docker"
|
||||||
"direnv"
|
"direnv"
|
||||||
"zsh-autosuggestions"
|
"zsh-autosuggestions"
|
||||||
"zsh-syntax-highlighting"
|
|
||||||
"zsh-completions"
|
"zsh-completions"
|
||||||
"zsh-history-substring-search"
|
"zsh-history-substring-search"
|
||||||
|
# zsh-syntax-highlighting wordt apart in initExtra gesourced
|
||||||
];
|
];
|
||||||
theme = "catppuccin-mocha";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Extra init script om syntax-highlighting correct te laden
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
# Example prompt colors for Catppuccin Mocha
|
# Catppuccin Mocha kleuren
|
||||||
local mocha_base="#1E1E2E"
|
local mocha_base="#1E1E2E"
|
||||||
local mocha_surface0="#313244"
|
local mocha_surface0="#313244"
|
||||||
local mocha_text="#CDD6F4"
|
local mocha_text="#CDD6F4"
|
||||||
@@ -1359,8 +1361,16 @@ in
|
|||||||
local mocha_flamingo="#F2CDCD"
|
local mocha_flamingo="#F2CDCD"
|
||||||
local mocha_rosewater="#F5E0DC"
|
local mocha_rosewater="#F5E0DC"
|
||||||
|
|
||||||
|
# Prompt configuratie
|
||||||
PROMPT='%{$fg[$mocha_blue]%}%n%{$reset_color%}@%{$fg[$mocha_peach]%}%m%{$reset_color%} %{$fg[$mocha_lavender]%}%~%{$reset_color%} %{$fg[$mocha_red]%}$%{$reset_color%} '
|
PROMPT='%{$fg[$mocha_blue]%}%n%{$reset_color%}@%{$fg[$mocha_peach]%}%m%{$reset_color%} %{$fg[$mocha_lavender]%}%~%{$reset_color%} %{$fg[$mocha_red]%}$%{$reset_color%} '
|
||||||
RPROMPT='%{$fg[$mocha_green]%}%T%{$reset_color%}'
|
RPROMPT='%{$fg[$mocha_green]%}%T%{$reset_color%}'
|
||||||
|
|
||||||
|
# Zsh-syntax-highlighting correct sourcen
|
||||||
|
if [ -f ${pkgs.zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then
|
||||||
|
source ${pkgs.zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Zsh-autosuggestions en andere plugins worden automatisch geladen via oh-my-zsh
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,10 +4,9 @@ let
|
|||||||
username = "henrov";
|
username = "henrov";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# Zorg dat Home Manager actief is
|
# Activeer Home Manager (als NixOS module)
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
# Configureer Home Manager gebruiker
|
|
||||||
home-manager.users.${username} = {
|
home-manager.users.${username} = {
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -15,20 +14,23 @@ in
|
|||||||
|
|
||||||
ohMyZsh = {
|
ohMyZsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
theme = "catppuccin-mocha";
|
||||||
|
|
||||||
|
# Plugins in de juiste volgorde
|
||||||
plugins = [
|
plugins = [
|
||||||
"git"
|
"git"
|
||||||
"docker"
|
"docker"
|
||||||
"direnv"
|
"direnv"
|
||||||
"zsh-autosuggestions"
|
"zsh-autosuggestions"
|
||||||
"zsh-syntax-highlighting"
|
|
||||||
"zsh-completions"
|
"zsh-completions"
|
||||||
"zsh-history-substring-search"
|
"zsh-history-substring-search"
|
||||||
|
# zsh-syntax-highlighting wordt apart in initExtra gesourced
|
||||||
];
|
];
|
||||||
theme = "catppuccin-mocha";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Extra init script om syntax-highlighting correct te laden
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
# Example prompt colors for Catppuccin Mocha
|
# Catppuccin Mocha kleuren
|
||||||
local mocha_base="#1E1E2E"
|
local mocha_base="#1E1E2E"
|
||||||
local mocha_surface0="#313244"
|
local mocha_surface0="#313244"
|
||||||
local mocha_text="#CDD6F4"
|
local mocha_text="#CDD6F4"
|
||||||
@@ -46,8 +48,16 @@ in
|
|||||||
local mocha_flamingo="#F2CDCD"
|
local mocha_flamingo="#F2CDCD"
|
||||||
local mocha_rosewater="#F5E0DC"
|
local mocha_rosewater="#F5E0DC"
|
||||||
|
|
||||||
|
# Prompt configuratie
|
||||||
PROMPT='%{$fg[$mocha_blue]%}%n%{$reset_color%}@%{$fg[$mocha_peach]%}%m%{$reset_color%} %{$fg[$mocha_lavender]%}%~%{$reset_color%} %{$fg[$mocha_red]%}$%{$reset_color%} '
|
PROMPT='%{$fg[$mocha_blue]%}%n%{$reset_color%}@%{$fg[$mocha_peach]%}%m%{$reset_color%} %{$fg[$mocha_lavender]%}%~%{$reset_color%} %{$fg[$mocha_red]%}$%{$reset_color%} '
|
||||||
RPROMPT='%{$fg[$mocha_green]%}%T%{$reset_color%}'
|
RPROMPT='%{$fg[$mocha_green]%}%T%{$reset_color%}'
|
||||||
|
|
||||||
|
# Zsh-syntax-highlighting correct sourcen
|
||||||
|
if [ -f ${pkgs.zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then
|
||||||
|
source ${pkgs.zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Zsh-autosuggestions en andere plugins worden automatisch geladen via oh-my-zsh
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user