enable fish shell explicilty for 0xa
This commit is contained in:
parent
09b5328d1c
commit
8e0f7b4c6f
3 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ config, ... }:
|
{ pkgs, config, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./amd.nix
|
./amd.nix
|
||||||
|
@ -60,6 +60,7 @@
|
||||||
home = "/home/0xa";
|
home = "/home/0xa";
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
uid = 1000;
|
uid = 1000;
|
||||||
|
shell = pkgs.fish;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.emacs.defaultEditor = false;
|
services.emacs.defaultEditor = false;
|
||||||
|
|
|
@ -73,8 +73,7 @@
|
||||||
vim = "nvim";
|
vim = "nvim";
|
||||||
grep = "grep --color=auto";
|
grep = "grep --color=auto";
|
||||||
};
|
};
|
||||||
users.defaultUserShell = (if config.networking.hostName == "toaster" then pkgs.fish else pkgs.zsh);
|
users.defaultUserShell = pkgs.zsh; # keep root shell posix compatible
|
||||||
users.users.root.shell = pkgs.zsh; # keep root shell posix compatible
|
|
||||||
|
|
||||||
programs.iftop.enable = true;
|
programs.iftop.enable = true;
|
||||||
programs.mosh.enable = true;
|
programs.mosh.enable = true;
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
set fish_greeting
|
set fish_greeting
|
||||||
|
set fish_command_not_found
|
||||||
'';
|
'';
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ls = "lsd --icon=never";
|
ls = "lsd --icon=never";
|
||||||
|
|
Loading…
Add table
Reference in a new issue