feat: configuring shell & add fish shell

This commit is contained in:
Rasyidan Akbar F. 2025-10-21 16:16:50 +07:00
commit e73cc0c0f5
10 changed files with 130 additions and 22 deletions

View file

@ -0,0 +1,17 @@
{ config, pkgs, lib, ... }: {
imports = [ ./oh-my-posh ];
programs.fish = {
enable = true;
interactiveShellInit = ''
set -g fish_greeting ""
set -gx EDITOR nvim
set -gx VISUAL nvim
'';
};
programs.oh-my-posh.enableFishIntegration = lib.mkDefault true;
# Ensure fish is available for login shells on Linux hosts.
home.packages = lib.mkAfter [ pkgs.fish ];
}