From 0886c533fb2a3c8aa54278079f2015bbff67eec7 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Sat, 23 Nov 2024 16:56:55 -0800 Subject: [PATCH] failed nixd setup --- lua/plugins/lspconfig.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index ec704a2..952c307 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -16,6 +16,25 @@ return { }, }, }, + -- nixd = { + -- mason = false, + -- settings = { + -- nixpkgs = { + -- 'import (builtins.getFlake "/home/lyc/workspace/CS/OS/NixOS/flakes").inputs.nixpkgs { }', + -- }, + -- formatting = { + -- command = { "nixpkgs-fmt" }, + -- }, + -- options = { + -- nixos = { + -- expr = '(builtins.getFlake ("git+file://" + toString ./.)).nixosConfigurations.k-on.options', + -- }, + -- home_manager = { + -- expr = '(builtins.getFlake ("git+file://" + toString ./.)).homeConfigurations."ruixi@k-on".options', + -- }, + -- }, + -- }, + -- }, lua_ls = { mason = false, },