Updated system + trying zed

This commit is contained in:
Emmet 2025-10-24 15:18:40 -05:00
parent e15e4d817e
commit 6f6d16dff1
10 changed files with 166 additions and 84 deletions

View file

@ -8,7 +8,7 @@ in {
userSettings.editor = lib.mkOption {
default = "vscodium";
description = "Default editor";
type = lib.types.enum [ "emacs" "kate" "vscodium" ];
type = lib.types.enum [ "emacs" "kate" "vscodium" "zed"];
# TODO add more editors
#type = lib.types.enum [ "emacs" "vim" "nvim" "neovide" "nano" "micro" "vscodium" "kate" "pulsar" ];
};
@ -19,6 +19,7 @@ in {
};
config = {
userSettings.zed.enable = lib.mkIf (config.userSettings.editor == "zed") true;
userSettings.emacs.enable = lib.mkIf (config.userSettings.editor == "emacs") true;
userSettings.vscodium.enable = lib.mkIf (config.userSettings.editor == "vscodium") true;
home.packages = with pkgs;