enable fish shell explicilty for 0xa

This commit is contained in:
Grisha Shipunov 2025-01-26 14:38:45 +01:00
parent 09b5328d1c
commit 8e0f7b4c6f
3 changed files with 4 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ config, ... }:
{ pkgs, config, ... }:
{
imports = [
./amd.nix
@ -60,6 +60,7 @@
home = "/home/0xa";
isNormalUser = true;
uid = 1000;
shell = pkgs.fish;
};
services.emacs.defaultEditor = false;

View file

@ -73,8 +73,7 @@
vim = "nvim";
grep = "grep --color=auto";
};
users.defaultUserShell = (if config.networking.hostName == "toaster" then pkgs.fish else pkgs.zsh);
users.users.root.shell = pkgs.zsh; # keep root shell posix compatible
users.defaultUserShell = pkgs.zsh; # keep root shell posix compatible
programs.iftop.enable = true;
programs.mosh.enable = true;

View file

@ -14,6 +14,7 @@
enable = true;
interactiveShellInit = ''
set fish_greeting
set fish_command_not_found
'';
shellAliases = {
ls = "lsd --icon=never";