From 867988106b12e4ec4aa53119615972e41186de26 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 4 May 2023 12:06:01 +0100 Subject: [PATCH] Fix lazy writing locking file to nix directory Add readline config to nix for case-insensitive shell matching --- nixos/home/env/readline.nix | 10 ++++++++++ nixos/home/tui/config/nvim/lua/config/lazy.lua | 7 +++---- 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 nixos/home/env/readline.nix diff --git a/nixos/home/env/readline.nix b/nixos/home/env/readline.nix new file mode 100644 index 00000000..4c93ad19 --- /dev/null +++ b/nixos/home/env/readline.nix @@ -0,0 +1,10 @@ +{ ... }: +{ + programs.readline = { + enable = true; + includeSystemConfig = true; + extraConfig = '' + set completion-ignore-case On + ''; + }; +} diff --git a/nixos/home/tui/config/nvim/lua/config/lazy.lua b/nixos/home/tui/config/nvim/lua/config/lazy.lua index 768aeecb..686e3013 100644 --- a/nixos/home/tui/config/nvim/lua/config/lazy.lua +++ b/nixos/home/tui/config/nvim/lua/config/lazy.lua @@ -1,13 +1,12 @@ return { + root = vim.fn.stdpath "data" .. "/lazy", spec = "plugins", + lockfile = vim.fn.stdpath "data" .. "/lazy-lock.json", dev = { path = "~/Projects/lua/nvim", }, install = { - colorscheme = { - "catppuccin", - "habamax", - }, + colorscheme = { "catppuccin" }, }, ui = { border = "rounded",