From bdbde5464800ed814f2749a7cd1a73d35320abad Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Wed, 23 Apr 2025 18:34:02 +0300 Subject: Added nix LSP (nil_ls) I love it, it just works out of the box, unlike nixd which was so broken I couldn't get it to work, and it's so much more featureful, it has insane autocompletion for keywords and vars and I can go to definition/go to references on files/vars etc and it has diagnostics and shows when there is an error, it's so much better, and it has completion for nix options --- hosts/hardware-configuration-laptop.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosts/hardware-configuration-laptop.nix') diff --git a/hosts/hardware-configuration-laptop.nix b/hosts/hardware-configuration-laptop.nix index 5dbd889..327f8c8 100644 --- a/hosts/hardware-configuration-laptop.nix +++ b/hosts/hardware-configuration-laptop.nix @@ -1,7 +1,7 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: +{ config, lib, modulesPath, ... }: { imports = -- cgit v1.3.1