From fc3c9ef569353ce5b891dfc43716c4d8c5a68ac3 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 4 Jan 2025 21:07:45 +0000 Subject: [PATCH] Revert "t490: set ghostty as the default terminal" This reverts commit 2c9af56ff70fd3496d6b923076d65fbee3a21f92. --- nix/home/opdavies/hosts/t490.nix | 1 - nix/lib/shared/home-manager.nix | 3 +-- nix/modules/nixos/i3.nix | 5 ++--- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/nix/home/opdavies/hosts/t490.nix b/nix/home/opdavies/hosts/t490.nix index a0e3faf..c253023 100644 --- a/nix/home/opdavies/hosts/t490.nix +++ b/nix/home/opdavies/hosts/t490.nix @@ -12,7 +12,6 @@ discord.enable = true; espanso.enable = true; flameshot.enable = true; - ghostty.enable = true; gtk.enable = true; slack.enable = true; diff --git a/nix/lib/shared/home-manager.nix b/nix/lib/shared/home-manager.nix index 5cce1b8..0cae366 100644 --- a/nix/lib/shared/home-manager.nix +++ b/nix/lib/shared/home-manager.nix @@ -37,8 +37,7 @@ }; desktop = { - alacritty.enable = lib.mkDefault false; - ghostty.enable = lib.mkDefault true; + alacritty.enable = lib.mkDefault true; }; } ]; diff --git a/nix/modules/nixos/i3.nix b/nix/modules/nixos/i3.nix index 095078c..19aba38 100644 --- a/nix/modules/nixos/i3.nix +++ b/nix/modules/nixos/i3.nix @@ -91,14 +91,13 @@ in "XF86AudioRaiseVolume" = "exec pamixer -ui 2 && pamixer --get-volume"; "XF86AudioLowerVolume" = "exec pamixer -ud 2 && pamixer --get-volume"; - "XF86AudioMute" = - ''exec pamixer --toggle-mute && ( [ "$(pamixer --get-mute)" = "true" ] && echo 0''; + "XF86AudioMute" = ''exec pamixer --toggle-mute && ( [ "$(pamixer --get-mute)" = "true" ] && echo 0''; "XF86MonBrightnessDown" = "exec brightnessctl set 5%- | sed -En 's/.*(([0-9]+)%).*/1/p'"; "XF86MonBrightnessUp" = "exec brightnessctl set +5% | sed -En 's/.*(([0-9]+)%).*/1/p'"; }; - terminal = "ghostty"; + terminal = "alacritty"; }; extraConfig = ''