mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
20 lines
488 B
Nix
20 lines
488 B
Nix
![]() |
{
|
||
|
flake,
|
||
|
pkgs,
|
||
|
...
|
||
|
}: let
|
||
|
configPath = ./config;
|
||
|
extensionsPath = import (configPath + /extensions.nix);
|
||
|
userKeymapsPath = import (configPath + /userKeymaps.nix);
|
||
|
userSettingsPath = import (configPath + /userSettings.nix);
|
||
|
packagePath = flake.inputs.zed.packages.${pkgs.system}.zed;
|
||
|
in {
|
||
|
programs.zed-editor = {
|
||
|
enable = true;
|
||
|
package = packagePath;
|
||
|
extensions = extensionsPath;
|
||
|
userKeymaps = userKeymapsPath;
|
||
|
userSettings = userSettingsPath;
|
||
|
};
|
||
|
}
|