My NixOS dotfiles
0

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿ› Split terminal and zsh

Simon R. - fantomitechno (Jun 8, 2026, 1:13 PM +0200) ccc3efb3 37e43933

+62 -52
+2 -52
home/terminal.nix
··· 1 - { pkgs, ... }: 1 + { ... }: 2 2 { 3 + imports = [ ./zsh.nix ]; 3 4 programs = { 4 5 kitty = { 5 6 enable = true; ··· 9 10 }; 10 11 }; 11 12 zsh = { 12 - enable = true; 13 - enableCompletion = true; 14 - 15 - autosuggestion.enable = true; 16 - syntaxHighlighting.enable = true; 17 - 18 13 shellAliases = { 19 - grep = "grep --color=auto"; 20 - cat = "bat"; 21 - df = "duf"; 22 14 ssh = "TERM=xterm-256color kitten ssh"; 23 - lt = "tree --gitignore"; 24 - rebuild = "cd /home/fantomitechno/dotfiles && sudo nixos-rebuild switch --flake"; 25 15 }; 26 - 27 - initContent = '' 28 - export PATH="$HOME/.local/bin:$PATH" 29 - export GOPATH=$HOME/go 30 - export PATH="$PATH:$HOME/go/bin" 31 - eval "$(starship init zsh)" 32 - eval "fastfetch" 33 - ''; 34 - 35 - oh-my-zsh = { 36 - enable = true; 37 - plugins = [ 38 - "docker" 39 - "docker-compose" 40 - "history-substring-search" 41 - ]; 42 - }; 43 - 44 - plugins = [ 45 - { 46 - name = "zsh-nix-shell"; 47 - file = "nix-shell.plugin.zsh"; 48 - src = pkgs.fetchFromGitHub { 49 - owner = "chisui"; 50 - repo = "zsh-nix-shell"; 51 - rev = "v0.8.0"; 52 - sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7"; 53 - }; 54 - } 55 - { 56 - name = "autoswitch_virtualenv"; 57 - file = "autoswitch_virtualenv.plugin.zsh"; 58 - src = pkgs.fetchFromGitHub { 59 - owner = "MichaelAquilina"; 60 - repo = "zsh-autoswitch-virtualenv"; 61 - rev = "3.9.0"; 62 - sha256 = "sha256-j2YX+OcYbvS2G/KUNzcWbJepm9bZlegp1r8ZjcY6Nnw"; 63 - }; 64 - } 65 - ]; 66 16 }; 67 17 }; 68 18
+60
home/zsh.nix
··· 1 + { pkgs, ... }: 2 + { 3 + programs = { 4 + zsh = { 5 + enable = true; 6 + enableCompletion = true; 7 + 8 + autosuggestion.enable = true; 9 + syntaxHighlighting.enable = true; 10 + 11 + shellAliases = { 12 + grep = "grep --color=auto"; 13 + cat = "bat"; 14 + df = "duf"; 15 + lt = "tree --gitignore"; 16 + rebuild = "cd /home/fantomitechno/dotfiles && sudo nixos-rebuild switch --flake"; 17 + }; 18 + 19 + initContent = '' 20 + export PATH="$HOME/.local/bin:$PATH" 21 + export GOPATH=$HOME/go 22 + export PATH="$PATH:$HOME/go/bin" 23 + eval "$(starship init zsh)" 24 + eval "fastfetch" 25 + ''; 26 + 27 + oh-my-zsh = { 28 + enable = true; 29 + plugins = [ 30 + "docker" 31 + "docker-compose" 32 + "history-substring-search" 33 + ]; 34 + }; 35 + 36 + plugins = [ 37 + { 38 + name = "zsh-nix-shell"; 39 + file = "nix-shell.plugin.zsh"; 40 + src = pkgs.fetchFromGitHub { 41 + owner = "chisui"; 42 + repo = "zsh-nix-shell"; 43 + rev = "v0.8.0"; 44 + sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7"; 45 + }; 46 + } 47 + { 48 + name = "autoswitch_virtualenv"; 49 + file = "autoswitch_virtualenv.plugin.zsh"; 50 + src = pkgs.fetchFromGitHub { 51 + owner = "MichaelAquilina"; 52 + repo = "zsh-autoswitch-virtualenv"; 53 + rev = "3.9.0"; 54 + sha256 = "sha256-j2YX+OcYbvS2G/KUNzcWbJepm9bZlegp1r8ZjcY6Nnw"; 55 + }; 56 + } 57 + ]; 58 + }; 59 + }; 60 + }