diff options
author | Silas Schöffel <sils@sils.li> | 2024-04-04 16:49:18 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-04-04 16:49:18 +0200 |
commit | 6ae04281d89a896041aac413fa9fb5d628152228 (patch) | |
tree | 90602c213c1e04ce512cc2e9171eb8b2907c72d3 | |
parent | foot: remove manual theming (diff) | |
download | nix-config-6ae04281d89a896041aac413fa9fb5d628152228.tar.gz nix-config-6ae04281d89a896041aac413fa9fb5d628152228.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | flake.nix | 7 | ||||
-rw-r--r-- | 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 = { |