diff --git a/flake.nix b/flake.nix index 215ae50..5f36e26 100644 --- a/flake.nix +++ b/flake.nix @@ -52,6 +52,9 @@ enable = true; defaultKeymap = "viins"; enableVteIntegration = true; + sessionVariables = { + COLORTERM = "truecolor"; + }; }; }; in diff --git a/nvim.nix b/nvim.nix index fa49109..fe90e47 100644 --- a/nvim.nix +++ b/nvim.nix @@ -9,6 +9,7 @@ nvim-treesitter.withAllGrammars lualine-nvim nvim-web-devicons + gruvbox-nvim ]; extraLuaConfig = '' -- Basic settings @@ -31,7 +32,8 @@ vim.g.mapleader = " " -- Set gruvbox colorscheme to match lualine theme - vim.cmd('colorscheme default') -- Use a simple colorscheme that works with lualine + vim.opt.background = "dark" + vim.cmd('colorscheme gruvbox') -- Nvim-tree setup require("nvim-tree").setup({}) diff --git a/tmux.nix b/tmux.nix index 8cf4bdd..4a72419 100644 --- a/tmux.nix +++ b/tmux.nix @@ -12,7 +12,7 @@ extraConfig = '' # Terminal settings set -g default-terminal "screen-256color" - set -ga terminal-overrides ",*256col*:Tc" + set -ga terminal-overrides ",xterm-256color:Tc" # Gruvbox Dark Theme # Status bar colors