about summary refs log tree commit diff stats
path: root/home-manager/config
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-25 14:15:12 +0100
committerene <ene@sils.li>2023-02-25 14:15:12 +0100
commit390e3a4c982739d1c646352dd57fa5170fd4f4f0 (patch)
treeab4df6ef7ec13c12b10880c187adb3c731ee1ebb /home-manager/config
parentFix(lf): Add further dependencies for cmds (diff)
downloadnixos-config-390e3a4c982739d1c646352dd57fa5170fd4f4f0.tar.gz
nixos-config-390e3a4c982739d1c646352dd57fa5170fd4f4f0.zip
Fix(zsh): Make deployment possible
Diffstat (limited to 'home-manager/config')
-rw-r--r--home-manager/config/zsh/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/home-manager/config/zsh/default.nix b/home-manager/config/zsh/default.nix
index 533c8b17..94dea060 100644
--- a/home-manager/config/zsh/default.nix
+++ b/home-manager/config/zsh/default.nix
@@ -42,7 +42,7 @@
         eval $(ssh-agent -s) > /dev/null # start ssh agent
         export ENHANCHED_NEOFETCH="$(pacman -Qn | wc -l) (pacman), $(pacman -Qm | wc -l) (aur), $(($(cargo install --list | wc -l ) / 2)) (cargo)"
       ''
-      + lib.concatStringsSep "setopt" [
+      + lib.concatStringsSep "\nsetopt " [
         "AUTO_CD"
         "AUTO_PUSHD"
         "CHASE_DOTS"
@@ -80,10 +80,9 @@
       TIMEFMT = "'$fg[green]%J$reset_color' time: $fg[blue]%*Es$reset_color, cpu: $fg[blue]%P$reset_color"; # no idea what this does or why it is needed
       REPORTTIME = "10";
 
-      PATH = [
-        "\${PATH}:/home/dt/repos/shell/scripts"
+      PATH = lib.concatStringsSep ":" [
         "/home/dt/.local/bin"
-        "/home/dt/.local/share/cargo/bin/"
+        "/home/dt/.local/share/cargo/bin"
       ];
       EDITOR = "nvim";
       IVIEWER = "imv";