nixos-config/modules/user/zed/default.nix
2025-10-24 15:18:40 -05:00

19 lines
332 B
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.userSettings.zed;
in {
options = {
userSettings.zed = {
enable = lib.mkEnableOption "Enable zed editor";
};
};
config = lib.mkIf cfg.enable {
programs.zed-editor.enable = true;
programs.zed-editor.extensions = [
"nix"
"gdscript"
];
};
}