Working on reshuffling

This commit is contained in:
2026-03-19 07:08:21 +00:00
parent 045f68bde3
commit 544cc3bff1
2 changed files with 30 additions and 10 deletions
+15 -5
View File
@@ -1317,10 +1317,9 @@ let
username = "henrov";
in
{
# Zorg dat Home Manager actief is
# Activeer Home Manager (als NixOS module)
programs.home-manager.enable = true;
# Configureer Home Manager gebruiker
home-manager.users.${username} = {
programs.zsh = {
enable = true;
@@ -1328,20 +1327,23 @@ in
ohMyZsh = {
enable = true;
theme = "catppuccin-mocha";
# Plugins in de juiste volgorde
plugins = [
"git"
"docker"
"direnv"
"zsh-autosuggestions"
"zsh-syntax-highlighting"
"zsh-completions"
"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 = ''
# Example prompt colors for Catppuccin Mocha
# Catppuccin Mocha kleuren
local mocha_base="#1E1E2E"
local mocha_surface0="#313244"
local mocha_text="#CDD6F4"
@@ -1359,8 +1361,16 @@ in
local mocha_flamingo="#F2CDCD"
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%} '
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
'';
};
};
+15 -5
View File
@@ -4,10 +4,9 @@ let
username = "henrov";
in
{
# Zorg dat Home Manager actief is
# Activeer Home Manager (als NixOS module)
programs.home-manager.enable = true;
# Configureer Home Manager gebruiker
home-manager.users.${username} = {
programs.zsh = {
enable = true;
@@ -15,20 +14,23 @@ in
ohMyZsh = {
enable = true;
theme = "catppuccin-mocha";
# Plugins in de juiste volgorde
plugins = [
"git"
"docker"
"direnv"
"zsh-autosuggestions"
"zsh-syntax-highlighting"
"zsh-completions"
"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 = ''
# Example prompt colors for Catppuccin Mocha
# Catppuccin Mocha kleuren
local mocha_base="#1E1E2E"
local mocha_surface0="#313244"
local mocha_text="#CDD6F4"
@@ -46,8 +48,16 @@ in
local mocha_flamingo="#F2CDCD"
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%} '
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
'';
};
};