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"