From 539dfb90596ca8a11aa46d1856ab70c1bc7d5e2f Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Sat, 7 Mar 2026 23:22:41 +0100 Subject: [PATCH] Update zsh.nix --- .../generated/system/applications/terminal_shell/zsh.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Droidnix/generated/system/applications/terminal_shell/zsh.nix b/Droidnix/generated/system/applications/terminal_shell/zsh.nix index 8f8ffffe6..85d8d7b00 100644 --- a/Droidnix/generated/system/applications/terminal_shell/zsh.nix +++ b/Droidnix/generated/system/applications/terminal_shell/zsh.nix @@ -3,17 +3,18 @@ pkgs, lib, user, + inputs, ... }: let - zshConfigDir = "${config.xdg.configHome}/zsh"; # Define outside programs.zsh + zshConfigDir = "${toString config.home-manager.users.${user.name}.xdg.configHome}/zsh"; in { - home-manager.users.${user.username} = { + home-manager.users.${user.name} = { programs.zsh = { enable = true; enableCompletion = true; - dotDir = zshConfigDir; # Use the variable here + dotDir = zshConfigDir; autosuggestion.enable = true; syntaxHighlighting.enable = true; oh-my-zsh = { @@ -23,7 +24,7 @@ in "git" "sudo" "extract" - "colored-man-lpages" + "colored-man-pages" "command-not-found" "history" "docker"