Re-add GhosTTY configs

This commit is contained in:
albert 2025-01-22 08:43:51 -08:00
parent 4ccf127baf
commit 96c26ffcb7
Signed by: albert
GPG key ID: 3895DD267CA11BA9
11 changed files with 38 additions and 31 deletions
flake.nix
home-manager/common/software/gui
stylix/themes
default/home-manager
green/home-manager
gruvbox/home-manager
sakura-day/home-manager
sakura-night/home-manager
stylix-day/home-manager
stylix/home-manager
tokyo-day/home-manager
tokyo-night/home-manager

View file

@ -64,7 +64,7 @@
# User Machines
nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; unfree = true; desktop = "plasma6"; };
framework13 = libx.mkHost { hostname = "framework13"; unfree = true; desktop = "gnome"; };
framework16 = libx.mkHost { hostname = "framework16"; unfree = true; desktop = "plasma6"; };
framework16 = libx.mkHost { hostname = "framework16"; unfree = true; desktop = "gnome"; };
steamdeck = libx.mkDeck { hostname = "steamdeck"; desktop = "plasma6"; };
# Raspberry Pi's
@ -87,7 +87,7 @@
# User Machines
"albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "plasma6"; };
"albert@framework13" = libx.mkHome { hostname = "framework13"; desktop = "gnome"; };
"albert@framework16" = libx.mkHome { hostname = "framework16"; desktop = "plasma6"; };
"albert@framework16" = libx.mkHome { hostname = "framework16"; desktop = "gnome"; };
"albert@steamdeck" = libx.mkHome { hostname = "steamdeck"; desktop = "plasma6"; };
# Raspberry Pi's

View file

@ -1,28 +1,26 @@
{ theme, ... }: {
# FIX: Re-enable this when 25.05 is out or when this is compabile with 24.11
# imports = [ ../../../../stylix/themes/${theme}/home-manager/ghostty.nix ];
imports = [ ../../../../stylix/themes/${theme}/home-manager/ghostty.nix ];
# Otherwise it sets the term to "xterm-ghostty" and it fails to connect to ssh
programs.bash.sessionVariables = { TERM = "xterm-256color"; };
programs.fish.shellInit = ''set TERM "xterm-256color" '';
# FIX: Re-enable this when 25.05 is out or when this is compabile with 24.11
# programs.ghostty = {
# enable = true;
# enableBashIntegration = true;
# enableFishIntegration = true;
# enableZshIntegration = true;
# installBatSyntax = true;
# installVimSyntax = true;
# settings = {
# font-size = 10;
# cursor-style = "bar";
# keybind = [
# "shift+right=next_tab"
# "shift+left=previous_tab"
# "shift+up=toggle_tab_overview"
# ];
# };
# };
programs.ghostty = {
enable = true;
enableBashIntegration = true;
enableFishIntegration = true;
enableZshIntegration = true;
installBatSyntax = true;
installVimSyntax = true;
settings = {
font-size = 10;
cursor-style = "bar";
keybind = [
"shift+right=next_tab"
"shift+left=previous_tab"
"shift+up=toggle_tab_overview"
];
};
};
}

View file

@ -1,4 +1,5 @@
{ lib, ... }: {
programs.ghostty.settings.theme = lib.mkForce "Ayu Mirage";
stylix.targets.ghostty.enable = false;
# FIX: This isn't quite available in 24.11
# stylix.targets.ghostty.enable = false;
}

View file

@ -1,4 +1,5 @@
{ lib, ... }: {
programs.ghostty.settings.theme = lib.mkForce "Ayu Mirage";
stylix.targets.ghostty.enable = false;
# FIX: This isn't quite available in 24.11
# stylix.targets.ghostty.enable = false;
}

View file

@ -1,4 +1,5 @@
{ lib, ... }: {
programs.ghostty.settings.theme = lib.mkForce "GruvboxDark";
stylix.targets.ghostty.enable = false;
# FIX: This isn't quite available in 24.11
# stylix.targets.ghostty.enable = false;
}

View file

@ -1,4 +1,5 @@
{ lib, ... }: {
programs.ghostty.settings.theme = lib.mkForce "catpuccin-latte";
stylix.targets.ghostty.enable = false;
# FIX: This isn't quite available in 24.11
# stylix.targets.ghostty.enable = false;
}

View file

@ -1,4 +1,5 @@
{ lib, ... }: {
programs.ghostty.settings.theme = lib.mkForce "sakura";
stylix.targets.ghostty.enable = false;
# FIX: This isn't quite available in 24.11
# stylix.targets.ghostty.enable = false;
}

View file

@ -1,4 +1,5 @@
{ lib, ... }: {
programs.ghostty.settings.theme = lib.mkForce "Ayu Mirage";
stylix.targets.ghostty.enable = false;
# FIX: This isn't quite available in 24.11
# stylix.targets.ghostty.enable = false;
}

View file

@ -1,4 +1,5 @@
{ lib, ... }: {
programs.ghostty.settings.theme = lib.mkForce "Ayu Mirage";
stylix.targets.ghostty.enable = false;
# FIX: This isn't quite available in 24.11
# stylix.targets.ghostty.enable = false;
}

View file

@ -1,4 +1,5 @@
{ lib, ... }: {
programs.ghostty.settings.theme = lib.mkForce "Ayu Mirage";
stylix.targets.ghostty.enable = false;
# FIX: This isn't quite available in 24.11
# stylix.targets.ghostty.enable = false;
}

View file

@ -1,4 +1,5 @@
{ lib, ... }: {
programs.ghostty.settings.theme = lib.mkForce "tokyonight_night";
stylix.targets.ghostty.enable = false;
# FIX: This isn't quite available in 24.11
# stylix.targets.ghostty.enable = false;
}