removes fish as shell
This commit is contained in:
parent
6d1bb749a7
commit
852258d66f
3 changed files with 3 additions and 20 deletions
|
|
@ -18,16 +18,13 @@
|
|||
fortune
|
||||
iotop
|
||||
iftop
|
||||
btop
|
||||
just
|
||||
mmv-go
|
||||
lazygit
|
||||
fish
|
||||
zoxide
|
||||
];
|
||||
|
||||
imports = [
|
||||
../modules/fish/server.nix
|
||||
../modules/lazygit
|
||||
../modules/ssh
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -43,15 +43,8 @@
|
|||
};
|
||||
nix.settings.auto-optimise-store = true;
|
||||
|
||||
# Launch fish shell
|
||||
programs.bash = {
|
||||
interactiveShellInit = ''
|
||||
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
|
||||
then
|
||||
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
|
||||
exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
|
||||
fi
|
||||
'';
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# Networking
|
||||
|
|
|
|||
|
|
@ -41,15 +41,8 @@
|
|||
};
|
||||
nix.settings.auto-optimise-store = true;
|
||||
|
||||
# Launch fish shell
|
||||
programs.bash = {
|
||||
interactiveShellInit = ''
|
||||
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
|
||||
then
|
||||
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
|
||||
exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
|
||||
fi
|
||||
'';
|
||||
enable = true;
|
||||
};
|
||||
|
||||
security.sudo.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue