From 89d34c7be90b7a6b91de0bec7296e6f37a54fa40 Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Thu, 9 Feb 2023 14:45:08 -0500 Subject: [PATCH] Using the new extraluaconfig stuff for neovim in home-manager --- home-cli.nix | 7 +------ init.lua => vim.lua | 0 2 files changed, 1 insertion(+), 6 deletions(-) rename init.lua => vim.lua (100%) diff --git a/home-cli.nix b/home-cli.nix index 5ce3029..a9bc0a2 100644 --- a/home-cli.nix +++ b/home-cli.nix @@ -16,7 +16,6 @@ in ghc haskell-language-server hlint haskellPackages.hoogle lua53Packages.luarocks ispell aspell aspellDicts.en aspellDicts.en-computers aspellDicts.en-science aspellDicts.fr aspellDicts.de aspellDicts.eo aspellDicts.es - fontconfig iosevka iosevka-bin ]; home.sessionVariables = { @@ -234,11 +233,7 @@ in withNodeJs = true; withPython3 = true; withRuby = true; - }; - - home.file.nvim = { - target = ".config/nvim/init.lua"; - source = ./init.lua; + extraLuaConfig = builtins.readFile ./vim.lua; }; programs.bat = { diff --git a/init.lua b/vim.lua similarity index 100% rename from init.lua rename to vim.lua