mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-27 17:02:31 +01:00
feat!: replace zellij with tuios, default to ghostty + kitty (#349)
* feat!: replace zellij with tuios and switch to ghostty + kitty Terminal environment overhaul: - add the tuios flake input (upstream 0.8.5; nixpkgs has 0.8.1) and link the checked-in config out-of-store; auto-start tuios in nushell instead of zellij - remove zellij entirely: both modules, config, README and nushell completions - remove foot and alacritty, which lack the Kitty graphics protocol;
This commit is contained in:
1 parent
a1ec97d3a2
commit
42641e2fdf
33 files changed
+920
-745
No files matched your search
@@ -18,14 +18,8 @@
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
# Terminfo entries for the terminals we actually use, so `$TERM` resolves on
|
||||
# hosts we SSH into. This replaces `environment.enableAllTerminfo`, which
|
||||
# installs every terminal's terminfo — including rxvt-unicode, which currently
|
||||
# fails to build with GCC 16 (https://github.com/NixOS/nixpkgs/issues/568896).
|
||||
# https://github.com/NixOS/nixpkgs/blob/nixos-26.05/nixos/modules/config/terminfo.nix
|
||||
# Terminfo for the terminals we use, so `$TERM` resolves on hosts we SSH into.
|
||||
environment.systemPackages = [
|
||||
pkgs.alacritty.terminfo
|
||||
pkgs.foot.terminfo
|
||||
pkgs.ghostty.terminfo
|
||||
pkgs.kitty.terminfo
|
||||
];
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
# set user's default shell system-wide
|
||||
users.defaultUserShell = pkgs.bashInteractive;
|
||||
|
||||
# fix for `sudo xxx` in kitty/wezterm/foot and other modern terminal emulators
|
||||
# fix for `sudo xxx` in kitty/ghostty and other modern terminal emulators
|
||||
security.sudo.keepTerminfo = true;
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
|
||||
@@ -7,10 +7,8 @@
|
||||
let
|
||||
my_terminal_desktop = [
|
||||
# NOTE: We have add these packages at user level
|
||||
"Alacritty.desktop"
|
||||
"kitty.desktop"
|
||||
"foot.desktop"
|
||||
"com.mitchellh.ghostty.desktop"
|
||||
"kitty.desktop"
|
||||
];
|
||||
in
|
||||
{
|
||||
@@ -47,7 +45,7 @@
|
||||
# This will make xdg-open use the portal to open programs,
|
||||
# which resolves bugs involving programs opening inside FHS envs or with unexpected env vars set from wrappers.
|
||||
# xdg-open is used by almost all programs to open a unknown file/uri
|
||||
# alacritty as an example, it use xdg-open as default, but you can also custom this behavior
|
||||
# a terminal emulator as an example, it uses xdg-open as default, but you can also customize this behavior
|
||||
xdgOpenUsePortal = true;
|
||||
|
||||
# ls /run/current-system/sw/share/xdg-desktop-portal/portals/
|
||||
|
||||
Reference in new issue
Block a user