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" + ''; + }; }; }