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:
Vladimir
2026-04-19 18:29:56 +03:00
committed by GitHub
3 changed files with 15 additions and 10 deletions
+7 -1
View File
@@ -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;
+7 -8
View File
@@ -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;
}
+1 -1
View File
@@ -1,5 +1,5 @@
{ ... }:
{
programs.zsh.enable = true;
programs.fish.enable = true;
}