[feat] Add some patches
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, ... }: {
|
{ ... }: {
|
||||||
imports = [ ../modules/goread.nix ];
|
imports = [ ../modules/goread.nix ];
|
||||||
programs.goread = {
|
programs.goread = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -10,9 +10,8 @@
|
|||||||
|
|
||||||
home.packages = with pkgs;
|
home.packages = with pkgs;
|
||||||
[
|
[
|
||||||
russ
|
|
||||||
go
|
go
|
||||||
|
p7zip
|
||||||
picat
|
picat
|
||||||
spotdl
|
spotdl
|
||||||
davis
|
davis
|
||||||
|
|||||||
@@ -43,6 +43,7 @@
|
|||||||
# url = "github:nixneovim/nixneovim";
|
# url = "github:nixneovim/nixneovim";
|
||||||
url = "github:uttarayan21/NixNeovim";
|
url = "github:uttarayan21/NixNeovim";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
# patches = [ ./patches/nixneovim.patch ];
|
||||||
};
|
};
|
||||||
# nixneovimplugins = {
|
# nixneovimplugins = {
|
||||||
# url = "github:NixNeovim/NixNeovimPlugins";
|
# url = "github:NixNeovim/NixNeovimPlugins";
|
||||||
|
|||||||
@@ -167,6 +167,12 @@
|
|||||||
hyprland.enable = true;
|
hyprland.enable = true;
|
||||||
hyprland.xwayland.enable = true;
|
hyprland.xwayland.enable = true;
|
||||||
yubikey-touch-detector.enable = true;
|
yubikey-touch-detector.enable = true;
|
||||||
|
steam = {
|
||||||
|
enable = true;
|
||||||
|
gamescopeSession.enable = true;
|
||||||
|
remotePlay.openFirewall = true;
|
||||||
|
dedicatedServer.openFirewall = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
|||||||
27
overlays.nix
27
overlays.nix
@@ -74,26 +74,6 @@ let
|
|||||||
src = picat-src;
|
src = picat-src;
|
||||||
cargoLock = { lockFile = "${picat-src}/Cargo.lock"; };
|
cargoLock = { lockFile = "${picat-src}/Cargo.lock"; };
|
||||||
};
|
};
|
||||||
|
|
||||||
# russ =
|
|
||||||
# let
|
|
||||||
# src = final.pkgs.fetchFromGitHub {
|
|
||||||
# owner = "ckampfe";
|
|
||||||
# repo = "russ";
|
|
||||||
# rev = "master";
|
|
||||||
# sha256 = "sha256-WJ/arI1zwt5UJNxo3MowKxof4wjROhgoRcfEYqWkYB8";
|
|
||||||
# };
|
|
||||||
# cargoToml = builtins.fromTOML (builtins.readFile "${src}/Cargo.toml");
|
|
||||||
# in
|
|
||||||
# final.pkgs.rustPlatform.buildRustPackage rec {
|
|
||||||
# pname = cargoToml.package.name;
|
|
||||||
# version = cargoToml.package.version;
|
|
||||||
# inherit src;
|
|
||||||
# doCheck = false;
|
|
||||||
# cargoLock = { lockFile = "${src}/Cargo.lock"; };
|
|
||||||
# };
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
anyrun-overlay = final: prev: {
|
anyrun-overlay = final: prev: {
|
||||||
@@ -170,6 +150,13 @@ let
|
|||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
# nixneovim = nixneovim.applyPatches {
|
||||||
|
# name = "nixneovim-patched";
|
||||||
|
# src = inputs.nixneovim;
|
||||||
|
# patches = [ ./patches/nixneovim.patch ];
|
||||||
|
# };
|
||||||
|
|
||||||
tree-sitter-grammars = (final: prev: {
|
tree-sitter-grammars = (final: prev: {
|
||||||
tree-sitter-grammars = prev.tree-sitter-grammars // {
|
tree-sitter-grammars = prev.tree-sitter-grammars // {
|
||||||
tree-sitter-just = final.pkgs.tree-sitter.buildGrammar {
|
tree-sitter-just = final.pkgs.tree-sitter.buildGrammar {
|
||||||
|
|||||||
2187
patches/anyrun.patch
Normal file
2187
patches/anyrun.patch
Normal file
File diff suppressed because it is too large
Load Diff
24
patches/nixneovim.patch
Normal file
24
patches/nixneovim.patch
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
diff --git a/src/plugins/_lspconfig-modules/servers.nix b/src/plugins/_lspconfig-modules/servers.nix
|
||||||
|
index f553364..3f235e9 100644
|
||||||
|
--- a/src/plugins/_lspconfig-modules/servers.nix
|
||||||
|
+++ b/src/plugins/_lspconfig-modules/servers.nix
|
||||||
|
@@ -96,6 +96,9 @@ let
|
||||||
|
languages = "OCaml";
|
||||||
|
packages = [ pkgs.ocamlPackages.ocaml-lsp ];
|
||||||
|
};
|
||||||
|
+ pylyzer = {
|
||||||
|
+ languages = "Python";
|
||||||
|
+ };
|
||||||
|
pyright = {
|
||||||
|
languages = "Python";
|
||||||
|
};
|
||||||
|
@@ -119,6 +122,9 @@ let
|
||||||
|
else
|
||||||
|
[ python3Packages.ruff-lsp ];
|
||||||
|
};
|
||||||
|
+ sqls = {
|
||||||
|
+ languages = "SQL";
|
||||||
|
+ };
|
||||||
|
taplo = {
|
||||||
|
languages = "TOML";
|
||||||
|
packages = [ taplo ];
|
||||||
Reference in New Issue
Block a user