diff options
| author | Tomuus <tomasz1.mrozinski@proton.me> | 2026-01-07 20:10:32 +0100 |
|---|---|---|
| committer | Tomuus <tomasz1.mrozinski@proton.me> | 2026-01-07 20:10:32 +0100 |
| commit | e2288f6e488988c4229e84c8bbf64eb9148e274d (patch) | |
| tree | c125a12269f9d761d76f218207402f0fa560979f | |
| parent | 7f33a9f2036915fb1ddb7ea8a6111c4a41a8d9fd (diff) | |
Changed default shell to fish
| -rw-r--r-- | hosts/common/packages.nix | 1 | ||||
| -rw-r--r-- | hosts/common/user.nix | 5 | ||||
| -rw-r--r-- | hosts/common/zsh.nix | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/hosts/common/packages.nix b/hosts/common/packages.nix index 5ab175b..50da535 100644 --- a/hosts/common/packages.nix +++ b/hosts/common/packages.nix @@ -10,7 +10,6 @@ environment.systemPackages = with pkgs; [ wget git - oh-my-posh fastfetch #neofetch htop diff --git a/hosts/common/user.nix b/hosts/common/user.nix index 9e014b5..026fe7d 100644 --- a/hosts/common/user.nix +++ b/hosts/common/user.nix @@ -2,12 +2,13 @@ { pkgs, userName, fullName, ...}: { + programs.fish.enable = true; programs.zsh.enable = true; users.users.${userName} = { description = "${fullName}"; isNormalUser = true; - shell = pkgs.zsh; - extraGroups = ["wheel" "cdrom"]; #Grants sudo + shell = pkgs.fish; + extraGroups = ["wheel" "cdrom" "docker"]; #Grants sudo packages = with pkgs; [ tree #Added by default but got so useful I didn't remove it ]; diff --git a/hosts/common/zsh.nix b/hosts/common/zsh.nix index 8722c9b..5021ce1 100644 --- a/hosts/common/zsh.nix +++ b/hosts/common/zsh.nix @@ -4,7 +4,7 @@ { ... }: { - programs.zsh = { + programs.fish = { enable = true; shellAliases = { ll = "ls -l"; @@ -19,9 +19,9 @@ ndw = "sudo nmcli device wifi"; #Nah terminal is all you need for wifi and bt gti = "git"; #Typo final boss }; - initContent = '' + shellInit = '' shuf -n 1 ~/.tips | cowsay - #eval "$(oh-my-posh init zsh --config ~/.config/omp/catppuccin_mocha.json)" + oh-my-posh init fish -c ~/.config/omp/catppuccin_mocha.json | source ''; }; |
