From 3849a1de9a28ed5434e864b8f2815c905a8d28ad Mon Sep 17 00:00:00 2001 From: dfangx Date: Mon, 7 Nov 2022 10:59:10 -0500 Subject: [PATCH] Use init.lua instead of init.vim (#64) * Use init.lua instead of init.vim * fix standalone generation Co-authored-by: cyrusng Co-authored-by: Pedro Alves --- modules/output.nix | 26 ++++++++++++++++---------- tests/flake.lock | 12 ++++++------ wrappers/hm.nix | 2 +- wrappers/nixos.nix | 2 +- 4 files changed, 24 insertions(+), 18 deletions(-) diff --git a/modules/output.nix b/modules/output.nix index 40e2369e..3d7708e6 100644 --- a/modules/output.nix +++ b/modules/output.nix @@ -79,7 +79,7 @@ in initContent = mkOption { type = types.str; - description = "The content of the init.vim file"; + description = "The content of the init.lua file"; readOnly = true; visible = false; }; @@ -89,15 +89,16 @@ in let customRC = (optionalString (config.extraConfigLuaPre != "") '' - lua <