From 6ae04281d89a896041aac413fa9fb5d628152228 Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Thu, 4 Apr 2024 16:49:18 +0200 Subject: nixvim: move theming config into flake.nix This allows me to stay with a themed standalone neovim package output while having my installed neovim themed with stylix. --- flake.nix | 7 ++++++- users/sils/nixvim/config.nix | 2 -- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index e4c34b1..d5c31db 100644 --- a/flake.nix +++ b/flake.nix @@ -173,7 +173,12 @@ inherit system; overlays = [nixvim.overlays.default]; }; - nixVimConfig = import ./users/sils/nixvim/config.nix pkgs; + nixVimConfig = + (import ./users/sils/nixvim/config.nix pkgs) + // { + colorschemes.gruvbox.enable = true; + plugins.airline.settings.theme = "minimalist"; + }; nvim = nixvim.legacyPackages."${system}".makeNixvim nixVimConfig; in { devShells.default = pkgs.mkShell { diff --git a/users/sils/nixvim/config.nix b/users/sils/nixvim/config.nix index 96dbe68..5ce397c 100644 --- a/users/sils/nixvim/config.nix +++ b/users/sils/nixvim/config.nix @@ -9,7 +9,6 @@ pkgs: { textwidth = 83; linebreak = true; }; - colorschemes.gruvbox.enable = true; keymaps = [ { mode = ["n" "i" "t"]; @@ -52,7 +51,6 @@ pkgs: { enable = true; settings = { powerline_fonts = true; - theme = "minimalist"; }; }; cmp = { -- cgit 1.4.1