flake/users/guanranwang/home-manager/modules/lang/nix.nix

19 lines
329 B
Nix
Raw Normal View History

2023-11-06 11:23:58 +00:00
{pkgs, ...}: {
home.packages = with pkgs; [
### LSP
nil
];
### VSCode
programs.vscode = {
userSettings = {
### Nix IDE
"nix.enableLanguageServer" = true;
"nix.serverPath" = "${pkgs.nil}/bin/nil";
};
extensions = with pkgs.vscode-extensions; [
jnoortheen.nix-ide
];
};
}