feat: updated zed

This commit is contained in:
Nick 2025-10-03 16:18:55 -05:00
parent 60ac77ef20
commit 5415bd0e5d
4 changed files with 87 additions and 2 deletions

75
flake.lock generated
View file

@ -57,6 +57,21 @@
"type": "github" "type": "github"
} }
}, },
"crane": {
"locked": {
"lastModified": 1758215636,
"narHash": "sha256-8nkzkPbdxze8CxWhKWlcLbJEU1vfLM/nVqRlTy17V54=",
"owner": "ipetkov",
"repo": "crane",
"rev": "a669fe77a8b0cd6f11419d89ea45a16691ca5121",
"type": "github"
},
"original": {
"owner": "ipetkov",
"repo": "crane",
"type": "github"
}
},
"darwin-universal-src": { "darwin-universal-src": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -272,6 +287,21 @@
"type": "github" "type": "github"
} }
}, },
"flake-compat_8": {
"locked": {
"lastModified": 1747046372,
"narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": { "flake-parts": {
"inputs": { "inputs": {
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
@ -1740,6 +1770,7 @@
"waybar": "waybar", "waybar": "waybar",
"wpaperd": "wpaperd", "wpaperd": "wpaperd",
"yazi": "yazi", "yazi": "yazi",
"zed-editor": "zed-editor",
"zen-browser": "zen-browser" "zen-browser": "zen-browser"
} }
}, },
@ -1827,6 +1858,27 @@
"type": "github" "type": "github"
} }
}, },
"rust-overlay_5": {
"inputs": {
"nixpkgs": [
"zed-editor",
"nixpkgs"
]
},
"locked": {
"lastModified": 1758508617,
"narHash": "sha256-kx2uELmVnAbiekj/YFfWR26OXqXedImkhe2ocnbumTA=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "d2bac276ac7e669a1f09c48614538a37e3eb6d0f",
"type": "github"
},
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
"type": "github"
}
},
"sbt-derivation": { "sbt-derivation": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_4", "flake-utils": "flake-utils_4",
@ -2268,6 +2320,29 @@
"type": "github" "type": "github"
} }
}, },
"zed-editor": {
"inputs": {
"crane": "crane",
"flake-compat": "flake-compat_8",
"nixpkgs": [
"nixpkgs"
],
"rust-overlay": "rust-overlay_5"
},
"locked": {
"lastModified": 1759521609,
"narHash": "sha256-hM4ww4jfIm8NvpYbsscEXxM/b/lG5ZcECgM4gsSMEII=",
"owner": "zed-industries",
"repo": "zed",
"rev": "4443f61c163d9a3e0a2275019a29cc360fe8dfed",
"type": "github"
},
"original": {
"owner": "zed-industries",
"repo": "zed",
"type": "github"
}
},
"zen-browser": { "zen-browser": {
"inputs": { "inputs": {
"darwin-universal-src": "darwin-universal-src", "darwin-universal-src": "darwin-universal-src",

View file

@ -68,6 +68,10 @@
url = "gitlab:InvraNet/zen-flake"; url = "gitlab:InvraNet/zen-flake";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
zed-editor = {
url = "github:zed-industries/zed";
inputs.nixpkgs.follows = "nixpkgs";
};
upRootNutrition = { upRootNutrition = {
url = "git+ssh://git@gitlab.com/uprootnutrition/website.git"; url = "git+ssh://git@gitlab.com/uprootnutrition/website.git";
}; };

View file

@ -30,7 +30,7 @@
haskell-language-server = { haskell-language-server = {
initialization_options = { initialization_options = {
haskell = { haskell = {
formattingProvider = "ormolu"; formattingProvider = "fourmolu";
}; };
}; };
}; };

View file

@ -3,6 +3,7 @@
flake, flake,
lib, lib,
pkgs, pkgs,
nixpkgs-stable,
... ...
}: }:
let let
@ -23,10 +24,15 @@ in
{ {
programs.zed-editor = { programs.zed-editor = {
enable = true; enable = true;
# package = packagePath; package = packagePath;
extraPackages = extraPackagesPath; extraPackages = extraPackagesPath;
extensions = extensionsPath; extensions = extensionsPath;
userKeymaps = userKeymapsPath; userKeymaps = userKeymapsPath;
userSettings = userSettingsPath; userSettings = userSettingsPath;
}; };
home.packages = builtins.attrValues {
inherit (pkgs)
zed-discord-presence
;
};
} }