From b88249fe54d218686358e62610f0ce9200629eab Mon Sep 17 00:00:00 2001 From: Arthur Wambst Date: Thu, 20 Feb 2025 14:07:30 +0100 Subject: [PATCH] dev theme --- flake.nix | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/flake.nix b/flake.nix index 7c2522e..27aec44 100644 --- a/flake.nix +++ b/flake.nix @@ -24,17 +24,19 @@ # Activer nvim programs.neovim = { enable = true; + + # Native way to configure Neovim + configure = { + customRC = '' + " Add Dracula to runtimepath + set runtimepath+=${inputs.plugin-dracula} + + " Enable Dracula colorscheme + colorscheme dracula + ''; + }; + }; - - # Set up Neovim configuration manually - xdg.configFile."nvim/init.lua".text = '' - -- Add Dracula to runtimepath - vim.opt.rtp:prepend("${inputs.plugin-dracula}"); - - -- Enable Dracula colorscheme - vim.cmd.colorscheme "dracula" - ''; - }; }; }