current
 1{
 2  den.aspects.desktop.provides.terminal.nixos = {pkgs, ...}: {
 3    # add user's shell into /etc/shells
 4    environment.shells = with pkgs; [
 5      bashInteractive
 6      fish
 7    ];
 8    # set user's default shell system-wide
 9    users.defaultUserShell = pkgs.bashInteractive;
10
11    services.xserver.excludePackages = [pkgs.xterm];
12    environment.plasma6.excludePackages = [pkgs.kdePackages.konsole];
13
14    # fix for `sudo xxx` in kitty/wezterm/foot and other modern terminal emulators
15    security.sudo.keepTerminfo = true;
16  };
17}