Use zed from nixpkgs instead of upstream zed
This commit is contained in:
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user