Switched from nix-vscode-extensions to nix4vscode

This commit is contained in:
2024-05-27 00:38:35 -03:00
parent 3dc9d15304
commit 9c63db9b51
10 changed files with 544 additions and 60 deletions

View File

@@ -1,9 +1,13 @@
{
inputs,
system,
pkgs,
lib,
...
}: {
}: let
plugins = (import ./extensions.lock) {
pkgs = pkgs;
lib = lib;
};
in {
home.packages = with pkgs; [
nil
alejandra
@@ -11,9 +15,9 @@
];
programs.vscode = {
extensions = with inputs.nix-vscode-extensions.extensions.${system}; [
vscode-marketplace.jnoortheen.nix-ide
vscode-marketplace.kamadorueda.alejandra
extensions = with plugins; [
jnoortheen.nix-ide
kamadorueda.alejandra
];
userSettings = {
"nix.enableLanguageServer" = true;