mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-23 21:05:08 +00:00
41 lines
1 KiB
Nix
41 lines
1 KiB
Nix
{
|
|
description = "Zed is a minimal code editor crafted for speed and collaboration with humans and AI.";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
crane.url = "github:ipetkov/crane";
|
|
rust-overlay = {
|
|
url = "github:oxalica/rust-overlay";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs =
|
|
inputs@{ flake-parts, ... }:
|
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
|
systems = [
|
|
"x86_64-linux"
|
|
"x86_64-darwin"
|
|
"aarch64-linux"
|
|
"aarch64-darwin"
|
|
];
|
|
|
|
imports = [
|
|
./nix/modules/overlays.nix
|
|
./nix/modules/packages.nix
|
|
./nix/modules/partitions.nix
|
|
];
|
|
};
|
|
|
|
nixConfig = {
|
|
extra-substituters = [
|
|
"https://zed.cachix.org"
|
|
"https://cache.garnix.io"
|
|
];
|
|
extra-trusted-public-keys = [
|
|
"zed.cachix.org-1:/pHQ6dpMsAZk2DiP4WCL0p9YDNKWj2Q5FL20bNmw1cU="
|
|
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
|
];
|
|
};
|
|
}
|