Regenerated

This commit is contained in:
2026-03-26 19:24:54 +00:00
parent 3af46c9c1b
commit 961851501c
2 changed files with 10 additions and 10 deletions
+5 -5
View File
@@ -1114,7 +1114,6 @@ This sets up the zsh in the terminal
{ config, pkgs, lib, flakeRoot, ... }:
let
username = config.defaultUser or "henrov";
generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc";
in
{
@@ -1122,9 +1121,6 @@ in
enable = true;
enableCompletion = true;
# Set Zsh dotfiles location
dotDir = "${config.xdg.configHome}/zsh";
ohMyZsh = {
enable = true;
theme = "";
@@ -1143,8 +1139,12 @@ in
autosuggestions.enable = true;
syntaxHighlighting.enable = true;
# Load your generated .zshrc if it exists
# Instead of dotDir, just set ZDOTDIR and source generated file
extraConfig = ''
# Tell Zsh to use ~/.config/zsh as main config dir
export ZDOTDIR="$HOME/.config/zsh"
# Source generated .zshrc if it exists
if [ -f "${generatedZsh}" ]; then
source "${generatedZsh}"
fi
@@ -1,7 +1,6 @@
{ config, pkgs, lib, flakeRoot, ... }:
let
username = config.defaultUser or "henrov";
generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc";
in
{
@@ -9,9 +8,6 @@ in
enable = true;
enableCompletion = true;
# Set Zsh dotfiles location
dotDir = "${config.xdg.configHome}/zsh";
ohMyZsh = {
enable = true;
theme = "";
@@ -30,8 +26,12 @@ in
autosuggestions.enable = true;
syntaxHighlighting.enable = true;
# Load your generated .zshrc if it exists
# Instead of dotDir, just set ZDOTDIR and source generated file
extraConfig = ''
# Tell Zsh to use ~/.config/zsh as main config dir
export ZDOTDIR="$HOME/.config/zsh"
# Source generated .zshrc if it exists
if [ -f "${generatedZsh}" ]; then
source "${generatedZsh}"
fi