diff --git a/modules/hm/desktop/zed.nix b/modules/hm/desktop/zed.nix new file mode 100644 index 0000000..e555af5 --- /dev/null +++ b/modules/hm/desktop/zed.nix @@ -0,0 +1,35 @@ +{ + flake.modules.homeManager.desktop = { + programs.zed-editor = { + enable = true; + extensions = [ + "lua" + "nix" + "C#" + "solidity" + ]; + userKeymaps = [ + { + context = "Workspace"; + bindings = { + F7 = "workspace::NewTerminal"; + }; + } + ]; + userSettings = { + ui_font_size = 18; + buffer_font_size = 18; + theme = { + mode = "dark"; + light = "Ayu Light"; + dark = "Ayu Dark"; + }; + vim_mode = true; + telemetry = { + diagnostics = false; + metrics = false; + }; + }; + }; + }; +} diff --git a/modules/hosts/sirius/config.nix b/modules/hosts/sirius/config.nix index 2f8eac6..0fb1355 100644 --- a/modules/hosts/sirius/config.nix +++ b/modules/hosts/sirius/config.nix @@ -72,11 +72,6 @@ # --- Programs --- programs.firefox.enable = true; - # --- Packages --- - environment.systemPackages = with pkgs; [ - zed-editor - ]; - # !!! DO NOT CHANGE THIS !!! # This should match the version used at initial install. system.stateVersion = "26.05";