From d639c293ad1ba71008aeb5c54c40f59a076018dc Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 24 Jun 2025 11:51:39 -0400 Subject: redo lib, make global vars for key lists --- home/neovim/config.nix | 4 ++-- home/neovim/default.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'home/neovim') diff --git a/home/neovim/config.nix b/home/neovim/config.nix index ae10243..4ded0e9 100644 --- a/home/neovim/config.nix +++ b/home/neovim/config.nix @@ -1,8 +1,8 @@ { config, - inputs, + self, }: -inputs.self.lib.lua.fmt { +self.lib.toLua { # Width of tabs in the editor tabwidth = 4; # If tabs should be expanded to spaces diff --git a/home/neovim/default.nix b/home/neovim/default.nix index c1ed000..559bdf0 100644 --- a/home/neovim/default.nix +++ b/home/neovim/default.nix @@ -1,11 +1,11 @@ { - inputs, config, lib, pkgs, + self, ... }: let - lua_cfg = import ./config.nix {inherit config inputs;}; + lua_cfg = import ./config.nix {inherit config self;}; lua = builtins.readFile ./init.lua; in { environment.variables.EDITOR = "nvim"; -- cgit v1.2.3-freya