summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/neovim/config.nix3
-rw-r--r--home/neovim/default.nix3
2 files changed, 2 insertions, 4 deletions
diff --git a/home/neovim/config.nix b/home/neovim/config.nix
index 8e04b84..a0c66dd 100644
--- a/home/neovim/config.nix
+++ b/home/neovim/config.nix
@@ -1,11 +1,10 @@
{
lib,
config,
- self,
}: let
inherit (lib) optionalAttrs;
in
- self.lib.toLua {
+ (lib.generators.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 7d3f331..b5f34d6 100644
--- a/home/neovim/default.nix
+++ b/home/neovim/default.nix
@@ -2,10 +2,9 @@
config,
lib,
pkgs,
- self,
...
}: let
- lua_cfg = import ./config.nix {inherit lib config self;};
+ lua_cfg = import ./config.nix {inherit lib config;};
lua = builtins.readFile ./init.lua;
in {
environment.variables.EDITOR = "nvim";