diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-04-23 18:34:02 +0300 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-04-23 18:34:02 +0300 |
| commit | bdbde5464800ed814f2749a7cd1a73d35320abad (patch) | |
| tree | 1273117a6c4f884039166cff5c1808b48bbab177 /flake.nix | |
| parent | 9745e7004f4a74b55c5fc1cdd12df2ee7cfc38e4 (diff) | |
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
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,13 +13,13 @@ outputs = { self, nixpkgs, ... }@inputs: { nixosConfigurations = { laptop = nixpkgs.lib.nixosSystem { - specialArgs = {inherit inputs;}; + specialArgs = { inherit inputs; }; modules = [ ./hosts/laptop.nix ]; }; lapsktop = nixpkgs.lib.nixosSystem { - specialArgs = {inherit inputs;}; + specialArgs = { inherit inputs; }; modules = [ ./hosts/lapsktop.nix ]; |
