From 69c52a9eefd4346e07b99c519faf64948e6f49cb Mon Sep 17 00:00:00 2001 From: Tyler Kelley Date: Wed, 19 Feb 2025 23:02:57 -0600 Subject: [PATCH] Updated flake and ghostty configuration --- CHANGELOG.md | 2 ++ flake.lock | 6 +++--- modules/core/stylix.nix | 2 +- modules/core/system.nix | 1 + modules/home/ghostty.nix | 8 ++++++-- modules/home/stylix.nix | 11 +++++++---- 6 files changed, 20 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1edd2cb..7787bc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -76,3 +76,5 @@ has been improved. - Fixed `nix flake check` not working. - Added nvidia prime PCI ID variables to host `variables.nix`. - Made Ghostty the new default terminal. +- Added vim keybindings to rofi (hjkl) and zsh (ctrl+hjkl). +- Added (ctrl+hjkl) keybinds for vim movement while in insert mode in neovim. diff --git a/flake.lock b/flake.lock index f1dfb5f..70c22e0 100644 --- a/flake.lock +++ b/flake.lock @@ -327,11 +327,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1740001359, - "narHash": "sha256-NYXDFhn73tJik0E5i6imxqj0BSnYrXRY6niLzCoPrrU=", + "lastModified": 1740014378, + "narHash": "sha256-OCFppvFOgQsSSTdQdxW3oVAsIvMJo/OyZD18dvJ2Ixc=", "owner": "nixos", "repo": "nixpkgs", - "rev": "4cc72d504236fafd32e53c6e70b8f56873b924db", + "rev": "f444c7cb4f9395451da6b40492d3bcd795b7d3f8", "type": "github" }, "original": { diff --git a/modules/core/stylix.nix b/modules/core/stylix.nix index d5a47cd..8b3f415 100644 --- a/modules/core/stylix.nix +++ b/modules/core/stylix.nix @@ -22,7 +22,7 @@ base0F = "00f769"; }; polarity = "dark"; - opacity.terminal = 0.8; + opacity.terminal = 1.0; cursor = { package = pkgs.bibata-cursors; name = "Bibata-Modern-Ice"; diff --git a/modules/core/system.nix b/modules/core/system.nix index af58160..ccb912a 100644 --- a/modules/core/system.nix +++ b/modules/core/system.nix @@ -3,6 +3,7 @@ in { nix = { settings = { + download-buffer-size = 250000000; auto-optimise-store = true; experimental-features = [ "nix-command" diff --git a/modules/home/ghostty.nix b/modules/home/ghostty.nix index 5d4ca74..edf0f98 100644 --- a/modules/home/ghostty.nix +++ b/modules/home/ghostty.nix @@ -1,10 +1,14 @@ -{...}: { +_: { programs.ghostty = { enable = true; enableBashIntegration = false; enableZshIntegration = true; settings = { - font-family = "JetBrainsMono Nerd Font"; + font-family = "JetBrainsMono Nerd Font Mono"; + font-size = 14; + theme = "Dracula"; + background-opacity = 0.95; + background-blur = 10; font-thicken = false; font-feature = ["ss04" "ss01"]; bold-is-bright = false; diff --git a/modules/home/stylix.nix b/modules/home/stylix.nix index ec9bf3c..dcc1c84 100644 --- a/modules/home/stylix.nix +++ b/modules/home/stylix.nix @@ -1,6 +1,9 @@ {...}: { - stylix.targets.waybar.enable = false; - stylix.targets.rofi.enable = false; - stylix.targets.hyprland.enable = false; - stylix.targets.hyprlock.enable = false; + stylix.targets = { + waybar.enable = false; + rofi.enable = false; + hyprland.enable = false; + hyprlock.enable = false; + ghostty.enable = false; + }; }