From 393c2e72bd0508ecbf2fa6cad31d5a58612de01e Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 19 Apr 2026 11:17:14 +0000 Subject: [PATCH] Switch default shell from zsh to fish with starship prompt Replace programs.zsh (powerlevel10k theme) with programs.fish and starship prompt integration. Fish provides autosuggestions and syntax highlighting out of the box, eliminating the need for separate plugins. https://claude.ai/code/session_01NS2hpapno51a1Ng7hWaQKy --- configuration.nix | 2 +- home.nix | 15 +++++++-------- shell.nix | 2 +- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/configuration.nix b/configuration.nix index 0bd6310..061c8bb 100644 --- a/configuration.nix +++ b/configuration.nix @@ -77,7 +77,7 @@ users.users.chexit = { isNormalUser = true; description = "chexit"; - shell = pkgs.zsh; + shell = pkgs.fish; extraGroups = [ "networkmanager" "wheel" "docker" ]; }; diff --git a/home.nix b/home.nix index b6d3cd1..182493b 100644 --- a/home.nix +++ b/home.nix @@ -1,22 +1,21 @@ -{ pkgs, ... }: +{ ... }: { home.username = "chexit"; home.homeDirectory = "/home/chexit"; home.stateVersion = "25.11"; - programs.zsh = { + programs.fish = { enable = true; - enableCompletion = true; - autosuggestion.enable = true; - syntaxHighlighting.enable = true; - initContent = '' - source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme - ''; shellAliases = { rebuild = "sudo nixos-rebuild switch --flake ~/nixos-config#chexit"; }; }; + programs.starship = { + enable = true; + enableFishIntegration = true; + }; + programs.home-manager.enable = true; } diff --git a/shell.nix b/shell.nix index b27c8ca..d81c197 100644 --- a/shell.nix +++ b/shell.nix @@ -1,5 +1,5 @@ { ... }: { - programs.zsh.enable = true; + programs.fish.enable = true; }