mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-17 10:35: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/vsCode/default.nix
Executable file
34
home/modules/gui/apps/ide/vsCode/default.nix
Executable file
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
flake,
|
||||
...
|
||||
}:
|
||||
{
|
||||
programs = {
|
||||
vscode =
|
||||
let
|
||||
configPath = ./config;
|
||||
keybindingsPath = import (configPath + /keybindings.nix);
|
||||
extensionsPath = import (configPath + /extensions.nix) {
|
||||
inherit
|
||||
pkgs
|
||||
;
|
||||
};
|
||||
userSettingsPath = import (configPath + /userSettings.nix) {
|
||||
inherit
|
||||
pkgs
|
||||
lib
|
||||
flake
|
||||
;
|
||||
};
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
package = pkgs.vscode;
|
||||
keybindings = keybindingsPath;
|
||||
extensions = extensionsPath;
|
||||
userSettings = userSettingsPath;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue