mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 17:45:12 -05:00
36 lines
710 B
Nix
Executable file
36 lines
710 B
Nix
Executable file
{
|
|
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;
|
|
profiles.default = {
|
|
keybindings = keybindingsPath;
|
|
extensions = extensionsPath;
|
|
userSettings = userSettingsPath;
|
|
};
|
|
};
|
|
};
|
|
}
|