Merge pull request #4 from Chexit/claude/switch-to-fish-shell-LDSqe
Switch default shell from Zsh to Fish with Starship prompt
This commit was merged in pull request #4.
This commit is contained in:
+7
-1
@@ -77,10 +77,16 @@
|
||||
users.users.chexit = {
|
||||
isNormalUser = true;
|
||||
description = "chexit";
|
||||
shell = pkgs.zsh;
|
||||
shell = pkgs.fish;
|
||||
extraGroups = [ "networkmanager" "wheel" "docker" ];
|
||||
};
|
||||
|
||||
programs._1password.enable = true;
|
||||
programs._1password-gui = {
|
||||
enable = true;
|
||||
polkitPolicyOwners = [ "chexit" ];
|
||||
};
|
||||
|
||||
programs.throne = {
|
||||
enable = true;
|
||||
tunMode.enable = true;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user