]> Skullheadx's Git Forge - nixos.git/commitdiff
zsh and tmux config added
authorAndrew <admonty1@protonmail.com>
Sat, 23 Aug 2025 15:15:46 +0000 (11:15 -0400)
committerAndrew <admonty1@protonmail.com>
Sat, 23 Aug 2025 15:15:46 +0000 (11:15 -0400)
sh.nix
tmux.nix

diff --git a/sh.nix b/sh.nix
index 46ffbeb8b27ee56ce8e4fac19b68ae6828d6e657..f16b3cf8ccea5e841e0edad0a9ab621e3828fba6 100644 (file)
--- a/sh.nix
+++ b/sh.nix
@@ -4,7 +4,6 @@
   pkgs,
   ...
 }:
-let
   myAliases = {
     ll = "ls -l";
     ".." = "cd ..";
@@ -30,22 +29,26 @@ in
       theme = "";
     };
     initContent = ''
-      # Powerlevel10k configuration
-      source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
-       source ${./.p10k.zsh}
-      # Initialize zoxide
-      eval "$(zoxide init zsh)"
+            # Powerlevel10k configuration
+            source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
+       source ${./.p10k.zsh}
+            # Initialize zoxide
+            eval "$(zoxide init zsh)"
 
-      # Initialize fzf
-      source <(fzf --zsh)
+            # Initialize fzf
+            source <(fzf --zsh)
 
-      # Source fzf-tab (needs to be after fzf)
-      source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
+            # Source fzf-tab (needs to be after fzf)
+            source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
 
-      # Custom aliases
-      alias ll="ls -la"
-      alias gs="git status"
+            # Custom aliases
+            alias ll="ls -la"
+            alias gs="git status"
 
-       bindkey '^ ' autosuggest-execute
-    '';  };
+       bindkey '^ ' autosuggest-execute
+    '';
+  };
+  programs.fish = {
+               enable = true;
+  };
 }
index ec5ba8186fcd359fef8e72499b7fa30302d6f2c4..130c204da57980a3a196d75bb008be8c80e36e6b 100644 (file)
--- a/tmux.nix
+++ b/tmux.nix
@@ -1,7 +1,7 @@
 { config, pkgs, ... }:
 
 {
-       programs.tmux = {
+  programs.tmux = {
     enable = true;
     terminal = "xterm-256color";
     historyLimit = 5000;