mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-23 17:28:33 +02:00
35 lines
646 B
Nix
35 lines
646 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
my_terminal_desktop = [
|
|
"foot.desktop"
|
|
"Alacritty.desktop"
|
|
"kitty.desktop"
|
|
"com.mitchellh.ghostty.desktop"
|
|
];
|
|
in {
|
|
environment.systemPackages = with pkgs; [
|
|
# NOTE: We have these in home config
|
|
# foot
|
|
# Alacritty
|
|
# kitty
|
|
# ghostty
|
|
];
|
|
xdg.terminal-exec = {
|
|
enable = true;
|
|
package = pkgs.xdg-terminal-exec-mkhl;
|
|
settings = {
|
|
GNOME =
|
|
[
|
|
"com.raggesilver.BlackBox.desktop"
|
|
"org.gnome.Terminal.desktop"
|
|
]
|
|
++ my_terminal_desktop;
|
|
niri = my_terminal_desktop;
|
|
default = my_terminal_desktop;
|
|
};
|
|
};
|
|
}
|