summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew <admonty1@protonmail.com>2025-08-23 11:15:46 -0400
committerAndrew <admonty1@protonmail.com>2025-08-23 11:15:46 -0400
commit4008f6f27bf237152f5f2788a642c769efc9bc48 (patch)
tree63842540e16e39b677927b74894e2aeea5b83daf
parentobsidian config with hacky zoom fix (diff)
downloadnixos-4008f6f27bf237152f5f2788a642c769efc9bc48.tar.gz
nixos-4008f6f27bf237152f5f2788a642c769efc9bc48.tar.bz2
nixos-4008f6f27bf237152f5f2788a642c769efc9bc48.zip
zsh and tmux config added
Diffstat (limited to '')
-rw-r--r--sh.nix33
-rw-r--r--tmux.nix2
2 files changed, 19 insertions, 16 deletions
diff --git a/sh.nix b/sh.nix
index 46ffbeb..f16b3cf 100644
--- 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;
+ };
}
diff --git a/tmux.nix b/tmux.nix
index ec5ba81..130c204 100644
--- a/tmux.nix
+++ b/tmux.nix
@@ -1,7 +1,7 @@
{ config, pkgs, ... }:
{
- programs.tmux = {
+ programs.tmux = {
enable = true;
terminal = "xterm-256color";
historyLimit = 5000;