common: add zsh + oh-my-zsh + powerlevel10k for darman

This commit is contained in:
2026-07-23 23:14:24 +02:00
parent a4c7768625
commit c86e8a19c4
2 changed files with 1728 additions and 1 deletions
+15 -1
View File
@@ -7,6 +7,7 @@
isNormalUser = true;
description = "darman";
extraGroups = [ "wheel" "networkmanager" ];
shell = pkgs.zsh;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGZpkPVhzi1zG5JI9hWyUgdyvNIQbp4ts4jw3idpMhhN erik@laptop"
];
@@ -47,7 +48,20 @@
options = "--delete-older-than 30d";
};
environment.systemPackages = with pkgs; [ vim git htop tmux curl wget ];
environment.systemPackages = with pkgs; [ vim git htop tmux curl wget zsh-powerlevel10k ];
# ---- zsh / oh-my-zsh / powerlevel10k ----
programs.zsh = {
enable = true;
ohMyZsh = {
enable = true;
theme = "robbyrussell"; # prompt itself replaced by p10k below
};
interactiveShellInit = ''
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
source ${./dotfiles/p10k.zsh}
'';
};
# ---- Locale / firewall base ----
time.timeZone = "Europe/Berlin";
+1713
View File
File diff suppressed because it is too large Load Diff