From 1ee69b31f2bf1fecbc35bf20c635fd790b5077fb Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Fri, 6 Sep 2024 22:17:33 +0200 Subject: [PATCH] remove wezterm from gnome, add gnome terminal back --- home/common/gnome/default.nix | 11 +++++++++++ home/common/programs/wezterm.nix | 3 +-- modules/gnome.nix | 8 ++++++++ modules/stylix.nix | 14 +++++++------- 4 files changed, 27 insertions(+), 9 deletions(-) diff --git a/home/common/gnome/default.nix b/home/common/gnome/default.nix index 47536c6..f2b2b73 100644 --- a/home/common/gnome/default.nix +++ b/home/common/gnome/default.nix @@ -18,5 +18,16 @@ home.packages = with pkgs.gnomeExtensions; [ appindicator ]; + programs.gnome-terminal = { + enable = true; + profile = { + "4621184a-b921-42cf-80a0-7784516606f2" = { + default = true; + audibleBell = false; + allowBold = true; + visibleName = "nezia"; + }; + }; + }; } diff --git a/home/common/programs/wezterm.nix b/home/common/programs/wezterm.nix index 1e7d79d..3c1d976 100644 --- a/home/common/programs/wezterm.nix +++ b/home/common/programs/wezterm.nix @@ -38,8 +38,7 @@ end return { - front_end = "WebGpu", - enable_wayland = false, + enable_wayland = true, hide_tab_bar_if_only_one_tab = true, show_new_tab_button_in_tab_bar = false, harfbuzz_features = { "ss01", "ss03" }, diff --git a/modules/gnome.nix b/modules/gnome.nix index 4c07d06..eed30fb 100644 --- a/modules/gnome.nix +++ b/modules/gnome.nix @@ -29,6 +29,14 @@ in gnome-tweaks gnome-power-manager ]; + stylix.fonts = { + sansSerif = { + package = pkgs.inter; + name = "Intel Variable"; + }; + serif = config.stylix.fonts.sansSerif; + sizes.desktop = 9; + }; }; } diff --git a/modules/stylix.nix b/modules/stylix.nix index f980b0a..3acf270 100644 --- a/modules/stylix.nix +++ b/modules/stylix.nix @@ -19,25 +19,25 @@ in size = 24; }; fonts = { - serif = { + serif = lib.mkDefault { package = pkgs.noto-fonts; name = "Noto Serif"; }; - sansSerif = { + sansSerif = lib.mkDefault { package = pkgs.noto-fonts; name = "Noto Sans"; }; - monospace = { - package = pkgs.nerdfonts.override { fonts = [ "Monaspace" ]; }; - name = "MonaspiceNe Nerd Font Mono"; + monospace = lib.mkDefault { + package = pkgs.intel-one-mono; + name = "Intel One Mono"; }; emoji = { package = pkgs.noto-fonts-color-emoji; name = "Noto Color Emoji"; }; - sizes = { + sizes = lib.mkDefault { terminal = 14; - applications = 12; + applications = 14; desktop = 12; }; };