From 961851501c4e0eab5a3327270c95215e44846d28 Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Thu, 26 Mar 2026 19:24:54 +0000 Subject: [PATCH] Regenerated --- Droidnix/README.org | 10 +++++----- Droidnix/generated/modules/traveldroid/apps/zsh.nix | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Droidnix/README.org b/Droidnix/README.org index ddae85a55..6457f2d2e 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -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 diff --git a/Droidnix/generated/modules/traveldroid/apps/zsh.nix b/Droidnix/generated/modules/traveldroid/apps/zsh.nix index bd0aba401..7578d19f3 100644 --- a/Droidnix/generated/modules/traveldroid/apps/zsh.nix +++ b/Droidnix/generated/modules/traveldroid/apps/zsh.nix @@ -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