diff options
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/base.nix | 6 | ||||
-rw-r--r-- | user/settings/nix.nix | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/user/settings/base.nix b/user/settings/base.nix index b5ed8f0d..692369e4 100644 --- a/user/settings/base.nix +++ b/user/settings/base.nix @@ -33,6 +33,12 @@ settings = { "json.enable" = true; "suggest.enablePreview" = true; + languageserver = { + nix = { + command = "${pkgs.nil}/bin/nil"; + filetypes = [ "nix" ]; + }; + }; }; }; }; diff --git a/user/settings/nix.nix b/user/settings/nix.nix index 77fb0145..0d1f0e1c 100644 --- a/user/settings/nix.nix +++ b/user/settings/nix.nix @@ -5,6 +5,7 @@ }: { nixpkgs.config = import ../config.nix; home.packages = with pkgs; [ + nil nix-prefetch-scripts alejandra # nix formatter ]; |