Use zed from nixpkgs instead of upstream zed

This commit is contained in:
Greg Hellings
2024-12-24 00:29:25 -06:00
parent a09d2ee561
commit db6b531ada
5 changed files with 24 additions and 2 deletions
+20
View File
@@ -0,0 +1,20 @@
{
pkgs,
config,
lib,
...
}:
let
cfg = config.greg.zed;
in
{
options.greg.zed = lib.mkEnableOption "Whether to install the Zed editor";
config = lib.mkIf cfg {
home.packages = with pkgs; [
nil
zed-editor
];
};
}