This commit is contained in:
2026-06-23 09:12:21 +01:00
parent ca0486baff
commit c072c583d1
8 changed files with 163 additions and 85 deletions
+13 -2
View File
@@ -10,7 +10,7 @@
flake-file.inputs = {
nixvim = {
url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
# inputs.nixpkgs.follows = "nixpkgs";
};
};
modules = {
@@ -22,6 +22,13 @@
homeManager =
{ pkgs, ... }:
let
# REPLACE THIS ONCE ITS FIXED IN UPSTREAM
cssLsFixed = pkgs.vscode-langservers-extracted.overrideAttrs (old: {
postInstall = (old.postInstall or "") + ''
sed -i 's/import\.meta\.url/"file:\/\/"+__filename/g' \
$out/lib/node_modules/vscode-langservers-extracted/lib/css-language-server/node/cssServerMain.js
'';
});
tiny-code-action = pkgs.vimUtils.buildVimPlugin {
name = "tiny-code-action.nvim";
src = pkgs.fetchFromGitHub {
@@ -44,6 +51,7 @@
config = {
allowUnfree = true;
};
# source = pkgs;
};
colorschemes.gruvbox-material.enable = true;
# colorschemes.melange = {
@@ -138,7 +146,10 @@
ts_ls = {
enable = true;
};
cssls.enable = true;
cssls = {
enable = true;
package = cssLsFixed;
};
svelte.enable = true;
};
};