Regenerated

This commit is contained in:
2026-04-12 12:24:14 +02:00
parent d058197d2e
commit 88103cafbf
3 changed files with 355 additions and 358 deletions
+6 -7
View File
@@ -854,17 +854,15 @@ in
** =generated/modules/traveldroid/apps/zsh.nix=
This sets up the zsh in the terminal
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/zsh.nix :noweb yes :mkdirp yes :eval never
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, config, pkgs, flakeRoot, ... }:
let
# Default username fallback
username = config.defaultUser or "henrov";
# Path to optional per-user generated zshrc
generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc";
in
{
#################################
# Install Zsh, Oh My Zsh, and Starship system-wide
# Install Zsh, Oh My Zsh, Starship and syntax highlighting system-wide
#################################
environment.systemPackages = with pkgs; [
zsh
@@ -894,6 +892,9 @@ in
# Initialize Starship prompt
eval "$(starship init zsh)"
# Syntax highlighting must be sourced last
source ${pkgs.zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
'';
#################################
@@ -902,10 +903,8 @@ in
home-manager.users = {
${username} = {
programs.zsh.enable = true;
# Include the generated zshrc if you want
home.file.".config/zsh/.zshrc".source = generatedZsh;
};
};
};
}
#+END_SRC