Regenerated
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||
# --- 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
|
||||
@@ -39,6 +37,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
|
||||
'';
|
||||
|
||||
#################################
|
||||
@@ -47,9 +48,7 @@ in
|
||||
home-manager.users = {
|
||||
${username} = {
|
||||
programs.zsh.enable = true;
|
||||
|
||||
# Include the generated zshrc if you want
|
||||
home.file.".config/zsh/.zshrc".source = generatedZsh;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user