mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
feat: dank themes module
This commit is contained in:
parent
616ce7fbca
commit
87b2f7e687
62 changed files with 1589 additions and 201 deletions
23
home/modules/zed/default.nix
Normal file → Executable file
23
home/modules/zed/default.nix
Normal file → Executable file
|
@ -1,17 +1,30 @@
|
|||
{
|
||||
flake,
|
||||
lib,
|
||||
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;
|
||||
extensionsPath = import (configPath + /extensions);
|
||||
userKeymapsPath = import (configPath + /userKeymaps);
|
||||
userSettingsPath = import (configPath + /userSettings) {
|
||||
inherit
|
||||
flake
|
||||
lib
|
||||
pkgs
|
||||
;
|
||||
};
|
||||
extraPackagesPath = import (configPath + /extraPackages) {
|
||||
inherit
|
||||
pkgs
|
||||
;
|
||||
};
|
||||
# packagePath = flake.inputs.zed.packages.${pkgs.system}.default;
|
||||
in {
|
||||
programs.zed-editor = {
|
||||
enable = true;
|
||||
package = packagePath;
|
||||
# package = packagePath;
|
||||
extraPackages = extraPackagesPath;
|
||||
extensions = extensionsPath;
|
||||
userKeymaps = userKeymapsPath;
|
||||
userSettings = userSettingsPath;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue