mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
zed
This commit is contained in:
4 files changed
+17
-2
No files matched your search
@@ -160,7 +160,7 @@ with pkgs;
|
|||||||
uv
|
uv
|
||||||
|
|
||||||
# editors
|
# editors
|
||||||
helix
|
zed-editor
|
||||||
vscode
|
vscode
|
||||||
neovim
|
neovim
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
};
|
};
|
||||||
focus-ring = {
|
focus-ring = {
|
||||||
width = 2;
|
width = 2;
|
||||||
active.color = "#61afef";
|
active.color = "#ffffff";
|
||||||
inactive.color = "#444444";
|
inactive.color = "#444444";
|
||||||
};
|
};
|
||||||
border = {
|
border = {
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
../home/git.nix
|
../home/git.nix
|
||||||
./boot
|
./boot
|
||||||
./desktop
|
./desktop
|
||||||
|
./editors/zed.nix
|
||||||
./gaming
|
./gaming
|
||||||
./hardware
|
./hardware
|
||||||
./networking
|
./networking
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(final: prev: {
|
||||||
|
zed-editor = prev.zed-editor.overrideAttrs (old: {
|
||||||
|
env = (old.env or { }) // {
|
||||||
|
RUSTFLAGS = ((old.env or { }).RUSTFLAGS or "") + " --cfg gles";
|
||||||
|
};
|
||||||
|
buildInputs = (old.buildInputs or [ ]) ++ [ prev.libGL ];
|
||||||
|
});
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in new issue
Block a user