Fixed Build issue on nix-darwin
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }: {
|
||||||
{
|
|
||||||
# LSP configuration: Language Server Protocol provides IDE features
|
# LSP configuration: Language Server Protocol provides IDE features
|
||||||
# like autocomplete, go-to-definition, diagnostics, and more.
|
# like autocomplete, go-to-definition, diagnostics, and more.
|
||||||
programs.nixvim = {
|
programs.nixvim = {
|
||||||
@@ -81,11 +80,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Install LSP servers
|
# Install LSP servers
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [ lua-language-server nil rust-analyzer ];
|
||||||
lua-language-server
|
|
||||||
nil
|
|
||||||
rust-analyzer
|
|
||||||
python314Packages.python-lsp-server
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -92,7 +92,7 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.cava = { enable = true; };
|
programs.cava = lib.mkIf (!isDarwin) { enable = true; };
|
||||||
|
|
||||||
programs.yazi = {
|
programs.yazi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user