flake/users/guanranwang/home-manager/modules/lang/nix.nix
2023-11-15 20:55:27 +08:00

18 lines
329 B
Nix

{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
];
};
}