Commit 8fc2b0a

HPCesia <me@hpcesia.com>
2025-06-06 10:16:06
feat(app): use nushell instead of fish
1 parent ad2b494
Changed files (6)
home
modules
home/base/core/shells/default.nix
@@ -1,17 +1,10 @@
-{
-  config,
-  pkgs,
-  ...
-}: {
+{...}: {
   programs.bash = {
     enable = true;
     enableCompletion = true;
   };
 
-  programs.fish = {
+  programs.nushell = {
     enable = true;
-    shellAliases = {
-      g = "lazygit";
-    };
   };
 }
home/base/core/starship/default.nix
@@ -5,7 +5,7 @@
     enable = true;
 
     enableBashIntegration = true;
-    enableFishIntegration = true;
+    enableNushellIntegration = true;
 
     settings = builtins.fromTOML (builtins.readFile ./starship.toml);
   };
home/base/core/core.nix
@@ -24,7 +24,7 @@
     zoxide = {
       enable = true;
       enableBashIntegration = true;
-      enableFishIntegration = true;
+      enableNushellIntegration = true;
     };
   };
 }
home/base/core/yazi.nix
@@ -1,8 +1,10 @@
 {pkgs, ...}: {
+  catppuccin.yazi.enable = true;
+
   programs.yazi = {
     enable = true;
     enableBashIntegration = true;
-    enableFishIntegration = true;
+    enableNushellIntegration = true;
     settings = {
       manager = {
         show_hidden = true;
modules/nixos/desktop/misc.nix
@@ -1,14 +1,12 @@
 {
   config,
-  lib,
   pkgs,
-  pkgs-unstable,
   ...
 }: {
   # add user's shell into /etc/shells
   environment.shells = with pkgs; [
     bashInteractive
-    fish
+    nushell
   ];
   # set user's default shell system-wide
   users.defaultUserShell = pkgs.bashInteractive;
modules/base.nix
@@ -8,7 +8,7 @@
     fastfetch
     helix
     micro
-    fish
+    nushell
     git
 
     # archives