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
42
home/modules/gui/apps/ide/zed/config/userSettings/default.nix
Executable file
42
home/modules/gui/apps/ide/zed/config/userSettings/default.nix
Executable file
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
flake,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
configPath = ./config;
|
||||
assistantPath = import (configPath + /assistant);
|
||||
|
||||
interfacePath = import (configPath + /interface) {
|
||||
inherit
|
||||
flake
|
||||
;
|
||||
};
|
||||
languagesPath = import (configPath + /languages);
|
||||
lspPath = import (configPath + /lsp);
|
||||
terminalPath = import (configPath + /terminal) {
|
||||
inherit
|
||||
flake
|
||||
;
|
||||
};
|
||||
|
||||
experimentalPath = import (configPath + /theme) {
|
||||
inherit
|
||||
flake
|
||||
;
|
||||
};
|
||||
gitPath = import (configPath + /git);
|
||||
miscPath = import (configPath + /misc) { inherit lib pkgs; };
|
||||
in
|
||||
{
|
||||
assistant = assistantPath;
|
||||
git = gitPath;
|
||||
languages = languagesPath;
|
||||
lsp = lspPath;
|
||||
terminal = terminalPath;
|
||||
experimental.theme_overrides = experimentalPath;
|
||||
|
||||
}
|
||||
// interfacePath
|
||||
// miscPath
|
Loading…
Add table
Add a link
Reference in a new issue