fish, starship, chatterino(not configed yet), mounted shared, pw cleanup
This commit is contained in:
@@ -89,8 +89,16 @@
|
||||
services.xserver.libinput.enable = true;
|
||||
hardware.uinput.enable = true;
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.defaultUserShell = pkgs.fish;
|
||||
users.defaultUserShell = pkgs.bash; # if interactive, itll switch to fish
|
||||
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
|
||||
'';
|
||||
};
|
||||
|
||||
users.users.nx2 = {
|
||||
isNormalUser = true;
|
||||
|
||||
Reference in New Issue
Block a user