feat(theme): change to nord theme

This commit is contained in:
Guz
2025-11-09 12:39:57 -03:00
parent 329d73385d
commit 650fbb2dac
3 changed files with 49 additions and 5 deletions

View File

@@ -7,6 +7,10 @@
url = "github:Saghen/blink.cmp"; url = "github:Saghen/blink.cmp";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nordic-nvim-src = {
url = "github:andersevenrud/nordic.nvim/pull/93/head";
flake = false;
};
go-grip = { go-grip = {
url = "github:guz013/go-grip"; url = "github:guz013/go-grip";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@@ -51,6 +55,10 @@
inherit pkgs lib; inherit pkgs lib;
blink-cmp = inputs.blink-cmp.packages.${stdenv.hostPlatform.system}.default; blink-cmp = inputs.blink-cmp.packages.${stdenv.hostPlatform.system}.default;
go-grip = inputs.go-grip.packages.${stdenv.hostPlatform.system}.default; go-grip = inputs.go-grip.packages.${stdenv.hostPlatform.system}.default;
nordic-nvim = pkgs.vimUtils.buildVimPlugin {
inherit (pkgs.vimPlugins.nordic-nvim) version pname meta;
src = inputs.nordic-nvim-src;
};
mdfmt = self.packages.${stdenv.hostPlatform.system}.mdfmt; mdfmt = self.packages.${stdenv.hostPlatform.system}.mdfmt;
}; };
mdfmt = pkgs.buildGoModule { mdfmt = pkgs.buildGoModule {

View File

@@ -1,6 +1,40 @@
return { return {
-- Frappurccino/Catppuccin theme -- Theme
{ {
"nordic.nvim",
priority = 1000,
after = function()
require("nordic").colorscheme({
transparent_backgrounds = true,
minimal_mode = true,
custom_colors = function(c, s, cs)
local functions = {
-- TS
"TSFunction",
"TSFuncMacro",
"TSMethod",
-- TS Query
"@function",
"@function.macro",
"@method",
"Function", -- VL
"pythonfunction", -- python
"vimFunction",
"vimUserFunc", -- vim
}
local variables = {
"@variable.nix", -- TS Query
}
return {
{ functions, c.bright_cyan },
{ variables, c.cyan },
}
end,
})
end,
},
--[[ {
"catppuccin-nvim", "catppuccin-nvim",
priority = 1000, priority = 1000,
after = function() after = function()
@@ -8,9 +42,9 @@ return {
flavour = "mocha", flavour = "mocha",
transparent_background = true, transparent_background = true,
}) })
vim.cmd.colorscheme("catppuccin") -- vim.cmd.colorscheme("catppuccin")
end, end,
}, }, ]]
-- Status bar -- Status bar
{ {
@@ -20,7 +54,7 @@ return {
require("lualine").setup({ require("lualine").setup({
options = { options = {
icons_enabled = false, icons_enabled = false,
theme = "catppuccin", theme = "nord",
component_separators = "|", component_separators = "|",
section_separators = "", section_separators = "",
}, },

View File

@@ -4,6 +4,7 @@
neovim ? pkgs.neovim, neovim ? pkgs.neovim,
blink-cmp ? pkgs.vimPlugins.blink-cmp, blink-cmp ? pkgs.vimPlugins.blink-cmp,
ripgrep ? pkgs.ripgrep, ripgrep ? pkgs.ripgrep,
nordic-nvim ? pkgs.vimPlugins.nordic-nvim,
mdfmt ? null, mdfmt ? null,
go-grip ? null, go-grip ? null,
yazi ? pkgs.yazi, yazi ? pkgs.yazi,
@@ -11,7 +12,7 @@
}: let }: let
start = start =
(with pkgs.vimPlugins; [ (with pkgs.vimPlugins; [
catppuccin-nvim # catppuccin-nvim
indent-blankline-nvim indent-blankline-nvim
lze lze
nvim-lspconfig nvim-lspconfig
@@ -29,6 +30,7 @@
]) ])
++ [ ++ [
blink-cmp blink-cmp
nordic-nvim
]; ];
opt = with pkgs.vimPlugins; [ opt = with pkgs.vimPlugins; [
auto-save-nvim auto-save-nvim