40 lines
1.1 KiB
Nix
40 lines
1.1 KiB
Nix
|
{ pkgs, inputs, system, ... }:
|
||
|
{
|
||
|
programs.vscode = {
|
||
|
enable = true;
|
||
|
package = pkgs.vscodium;
|
||
|
|
||
|
enableUpdateCheck = false;
|
||
|
enableExtensionUpdateCheck = false;
|
||
|
mutableExtensionsDir = false;
|
||
|
|
||
|
extensions = with inputs.vscode-extensions.extensions."${system}".open-vsx; [
|
||
|
rust-lang.rust-analyzer
|
||
|
jnoortheen.nix-ide
|
||
|
];
|
||
|
|
||
|
userSettings = {
|
||
|
# Editor
|
||
|
"editor.fontFamily" = "'FiraCode Nerd Font Mono', 'Droid Sans Mono', 'monospace', monospace";
|
||
|
# JJ
|
||
|
"files.watcherExclude" = [
|
||
|
"**/.git/objects/**"
|
||
|
"**/.git/subtree-cache/**"
|
||
|
"**/.hg/store/**"
|
||
|
"**/.jj"
|
||
|
];
|
||
|
"files.exclude" = [
|
||
|
"**/.git"
|
||
|
"**/.jj"
|
||
|
"**/.svn"
|
||
|
"**/.hg"
|
||
|
"**/CVS"
|
||
|
"**/.DS_Store"
|
||
|
"**/Thumbs.db"
|
||
|
];
|
||
|
# Nix
|
||
|
"nix.enableLanguageServer" = true;
|
||
|
"nix.serverPath" = "nixd";
|
||
|
};
|
||
|
};
|
||
|
}
|