add some vscode plugins
This commit is contained in:
parent
9230fecb98
commit
c524dcaa0f
2 changed files with 14 additions and 1 deletions
|
@ -203,7 +203,9 @@
|
|||
age
|
||||
sops
|
||||
ssh-to-age
|
||||
nixfmt-rfc-style
|
||||
];
|
||||
};
|
||||
formatter.x86_64-linux = (pkgsFor "x86_64-linux").nixfmt-rfc-style;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{vscode-server, ...}: {
|
||||
{vscode-server, pkgs, ...}: {
|
||||
imports = [
|
||||
"${vscode-server}/modules/vscode-server/home.nix"
|
||||
];
|
||||
|
@ -7,6 +7,17 @@
|
|||
enableExtensionUpdateCheck = false;
|
||||
enableUpdateCheck = false;
|
||||
mutableExtensionsDir = false;
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
jnoortheen.nix-ide
|
||||
mkhl.direnv
|
||||
pkief.material-icon-theme
|
||||
];
|
||||
userSettings = {
|
||||
"nix.enableLanguageServer" = true;
|
||||
"nix.formatterPath" = "${pkgs.nixfmt-rfc-style}/bin/nixfmt";
|
||||
"nix.serverPath" = "${pkgs.nil}/bin/nil";
|
||||
"workbench.iconTheme" = "material-icon-theme";
|
||||
};
|
||||
};
|
||||
services.vscode-server.enable = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue