mirror of
https://github.com/nmasur/dotfiles
synced 2025-05-15 09:05:52 +00:00
Compare commits
No commits in common. "8f8012e4350336d24d42bc2604da5debe0356676" and "d013f980a77e9efb95be3b826eb9ca404f80770e" have entirely different histories.
8f8012e435
...
d013f980a7
@ -5,7 +5,8 @@
|
|||||||
program = "${
|
program = "${
|
||||||
(import ../modules/common/neovim/package {
|
(import ../modules/common/neovim/package {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
colors = (import ../colorscheme/gruvbox).dark;
|
colors =
|
||||||
|
import ../colorscheme/gruvbox/neovim-gruvbox.nix { inherit pkgs; };
|
||||||
})
|
})
|
||||||
}/bin/nvim";
|
}/bin/nvim";
|
||||||
|
|
||||||
|
@ -1,45 +0,0 @@
|
|||||||
# Gruvbox with a darker background for greater contrast
|
|
||||||
|
|
||||||
{
|
|
||||||
name = "gruvbox-dark"; # Dark, Medium
|
|
||||||
author =
|
|
||||||
"Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox), ElRastaOk (https://www.reddit.com/user/ElRastaOk)";
|
|
||||||
dark = {
|
|
||||||
base00 = "#1D2122"; # ---- This is the change from normal gruvbox
|
|
||||||
base01 = "#3c3836"; # ---
|
|
||||||
base02 = "#504945"; # --
|
|
||||||
base03 = "#665c54"; # -
|
|
||||||
base04 = "#bdae93"; # +
|
|
||||||
base05 = "#d5c4a1"; # ++
|
|
||||||
base06 = "#ebdbb2"; # +++
|
|
||||||
base07 = "#fbf1c7"; # ++++
|
|
||||||
base08 = "#fb4934"; # red
|
|
||||||
base09 = "#fe8019"; # orange
|
|
||||||
base0A = "#fabd2f"; # yellow
|
|
||||||
base0B = "#b8bb26"; # green
|
|
||||||
base0C = "#8ec07c"; # aqua/cyan
|
|
||||||
base0D = "#83a598"; # blue
|
|
||||||
base0E = "#d3869b"; # purple
|
|
||||||
base0F = "#d65d0e"; # brown
|
|
||||||
batTheme = "gruvbox-dark";
|
|
||||||
};
|
|
||||||
light = {
|
|
||||||
base00 = "#fbf1c7"; # ----
|
|
||||||
base01 = "#ebdbb2"; # ---
|
|
||||||
base02 = "#d5c4a1"; # --
|
|
||||||
base03 = "#bdae93"; # -
|
|
||||||
base04 = "#665c54"; # +
|
|
||||||
base05 = "#504945"; # ++
|
|
||||||
base06 = "#3c3836"; # +++
|
|
||||||
base07 = "#1D2122"; # ++++ Adjusted darker here
|
|
||||||
base08 = "#9d0006"; # red
|
|
||||||
base09 = "#af3a03"; # orange
|
|
||||||
base0A = "#b57614"; # yellow
|
|
||||||
base0B = "#79740e"; # green
|
|
||||||
base0C = "#427b58"; # aqua/cyan
|
|
||||||
base0D = "#076678"; # blue
|
|
||||||
base0E = "#8f3f71"; # purple
|
|
||||||
base0F = "#d65d0e"; # brown
|
|
||||||
batTheme = "gruvbox-light";
|
|
||||||
};
|
|
||||||
}
|
|
@ -19,6 +19,7 @@
|
|||||||
base0D = "#83a598"; # blue
|
base0D = "#83a598"; # blue
|
||||||
base0E = "#d3869b"; # purple
|
base0E = "#d3869b"; # purple
|
||||||
base0F = "#d65d0e"; # brown
|
base0F = "#d65d0e"; # brown
|
||||||
|
neovimConfig = ./neovim-gruvbox.nix;
|
||||||
batTheme = "gruvbox-dark";
|
batTheme = "gruvbox-dark";
|
||||||
};
|
};
|
||||||
light = {
|
light = {
|
||||||
@ -38,6 +39,7 @@
|
|||||||
base0D = "#076678"; # blue
|
base0D = "#076678"; # blue
|
||||||
base0E = "#8f3f71"; # purple
|
base0E = "#8f3f71"; # purple
|
||||||
base0F = "#d65d0e"; # brown
|
base0F = "#d65d0e"; # brown
|
||||||
|
neovimConfig = ./neovim-gruvbox.nix;
|
||||||
batTheme = "gruvbox-light";
|
batTheme = "gruvbox-light";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
12
colorscheme/gruvbox/neovim-gruvbox.nix
Normal file
12
colorscheme/gruvbox/neovim-gruvbox.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{ pkgs, ... }: {
|
||||||
|
|
||||||
|
plugins = [ pkgs.vimPlugins.vim-gruvbox8 ];
|
||||||
|
|
||||||
|
vim.g.gruvbox_italicize_strings = 0;
|
||||||
|
vim.o.background = "dark";
|
||||||
|
vimscript = ''
|
||||||
|
let g:gruvbox_italicize_strings = 0
|
||||||
|
colorscheme gruvbox8
|
||||||
|
'';
|
||||||
|
|
||||||
|
}
|
@ -1,23 +1,21 @@
|
|||||||
{
|
{
|
||||||
dark = {
|
name = "nord";
|
||||||
name = "nord";
|
author = "arcticicestudio";
|
||||||
author = "arcticicestudio";
|
base00 = "#2E3440";
|
||||||
base00 = "#2E3440";
|
base01 = "#3B4252";
|
||||||
base01 = "#3B4252";
|
base02 = "#434C5E";
|
||||||
base02 = "#434C5E";
|
base03 = "#4C566A";
|
||||||
base03 = "#4C566A";
|
base04 = "#D8DEE9";
|
||||||
base04 = "#D8DEE9";
|
base05 = "#E5E9F0";
|
||||||
base05 = "#E5E9F0";
|
base06 = "#ECEFF4";
|
||||||
base06 = "#ECEFF4";
|
base07 = "#8FBCBB";
|
||||||
base07 = "#8FBCBB";
|
base08 = "#88C0D0";
|
||||||
base08 = "#88C0D0";
|
base09 = "#81A1C1";
|
||||||
base09 = "#81A1C1";
|
base0A = "#5E81AC";
|
||||||
base0A = "#5E81AC";
|
base0B = "#BF616A";
|
||||||
base0B = "#BF616A";
|
base0C = "#D08770";
|
||||||
base0C = "#D08770";
|
base0D = "#EBCB8B";
|
||||||
base0D = "#EBCB8B";
|
base0E = "#A3BE8C";
|
||||||
base0E = "#A3BE8C";
|
base0F = "#B48EAD";
|
||||||
base0F = "#B48EAD";
|
neovimConfig = ./neovim.lua;
|
||||||
batTheme = "nord";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
@ -180,7 +180,8 @@
|
|||||||
neovim = let pkgs = import nixpkgs { inherit system overlays; };
|
neovim = let pkgs = import nixpkgs { inherit system overlays; };
|
||||||
in import ./modules/common/neovim/package {
|
in import ./modules/common/neovim/package {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
colors = (import ./colorscheme/gruvbox-dark).dark;
|
colors =
|
||||||
|
import ./colorscheme/gruvbox/neovim-gruvbox.nix { inherit pkgs; };
|
||||||
};
|
};
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -26,7 +26,7 @@ nixpkgs.lib.nixosSystem {
|
|||||||
|
|
||||||
# Theming
|
# Theming
|
||||||
theme = {
|
theme = {
|
||||||
colors = (import ../../colorscheme/gruvbox-dark).dark;
|
colors = (import ../../colorscheme/gruvbox).dark;
|
||||||
dark = true;
|
dark = true;
|
||||||
};
|
};
|
||||||
wallpaper = "${wallpapers}/gruvbox/road.jpg";
|
wallpaper = "${wallpapers}/gruvbox/road.jpg";
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
{ pkgs, lib, config, ... }: {
|
|
||||||
|
|
||||||
options.colors = lib.mkOption {
|
|
||||||
type = lib.types.attrsOf lib.types.str;
|
|
||||||
description = "Attrset of base16 colorscheme key value pairs.";
|
|
||||||
};
|
|
||||||
|
|
||||||
config = {
|
|
||||||
plugins = [ pkgs.vimPlugins.nvim-base16 ];
|
|
||||||
setup.base16-colorscheme = config.colors;
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
@ -4,7 +4,7 @@ let
|
|||||||
|
|
||||||
neovim = import ./package {
|
neovim = import ./package {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
colors = config.theme.colors;
|
colors = import config.theme.colors.neovimConfig { inherit pkgs; };
|
||||||
};
|
};
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
@ -26,15 +26,13 @@
|
|||||||
# ] ++ extraConfig;
|
# ] ++ extraConfig;
|
||||||
# }
|
# }
|
||||||
|
|
||||||
{ pkgs, colors, ... }:
|
{ pkgs, colors ? { }, ... }:
|
||||||
|
|
||||||
pkgs.neovimBuilder {
|
pkgs.neovimBuilder {
|
||||||
package = pkgs.neovim-unwrapped;
|
package = pkgs.neovim-unwrapped;
|
||||||
inherit colors;
|
|
||||||
imports = [
|
imports = [
|
||||||
../config/align.nix
|
../config/align.nix
|
||||||
../config/bufferline.nix
|
../config/bufferline.nix
|
||||||
../config/colors.nix
|
|
||||||
../config/completion.nix
|
../config/completion.nix
|
||||||
../config/gitsigns.nix
|
../config/gitsigns.nix
|
||||||
../config/lsp.nix
|
../config/lsp.nix
|
||||||
@ -44,5 +42,6 @@ pkgs.neovimBuilder {
|
|||||||
../config/telescope.nix
|
../config/telescope.nix
|
||||||
../config/toggleterm.nix
|
../config/toggleterm.nix
|
||||||
../config/tree.nix
|
../config/tree.nix
|
||||||
|
colors
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
config = {
|
config = {
|
||||||
|
|
||||||
home-manager.users.${config.user}.services.dunst = {
|
home-manager.users.${config.user}.services.dunst = {
|
||||||
enable = false;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
global = {
|
global = {
|
||||||
width = 300;
|
width = 300;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user