mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
feat: refactored home manager
This commit is contained in:
parent
65417d1809
commit
376c1d7b18
511 changed files with 1777 additions and 772 deletions
34
home/modules/gui/apps/ide/zed/default.nix
Executable file
34
home/modules/gui/apps/ide/zed/default.nix
Executable file
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
flake,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
configPath = ./config;
|
||||
extensionsPath = import (configPath + /extensions);
|
||||
userKeymapsPath = import (configPath + /userKeymaps);
|
||||
userSettingsPath = import (configPath + /userSettings) {
|
||||
inherit
|
||||
flake
|
||||
lib
|
||||
pkgs
|
||||
;
|
||||
};
|
||||
extraPackagesPath = import (configPath + /extraPackages) {
|
||||
inherit
|
||||
pkgs
|
||||
;
|
||||
};
|
||||
in
|
||||
# packagePath = flake.inputs.zed-editor.packages.${pkgs.system}.default;
|
||||
{
|
||||
programs.zed-editor = {
|
||||
enable = true;
|
||||
# package = packagePath;
|
||||
extraPackages = extraPackagesPath;
|
||||
extensions = extensionsPath;
|
||||
userKeymaps = userKeymapsPath;
|
||||
userSettings = userSettingsPath;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue