From b4c36699678ebf7f21fabb4c50ef314b5cf9bcba Mon Sep 17 00:00:00 2001 From: Arthur Wambst Date: Thu, 20 Feb 2025 14:05:02 +0100 Subject: [PATCH] dev theme --- flake.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index 7518be3..7c2522e 100644 --- a/flake.nix +++ b/flake.nix @@ -24,15 +24,17 @@ # Activer nvim programs.neovim = { enable = true; - extraConfig = '' - -- Add Dracula from Nix flake input - vim.opt.rtp:prepend("${inputs.plugin-dracula}"); - - -- Enable Dracula colorscheme - vim.cmd.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" + ''; + }; }; }