mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-17 02:25:12 -05:00
21 lines
522 B
Nix
Executable file
21 lines
522 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;
|
|
keybindings = keybindingsPath;
|
|
extensions = extensionsPath;
|
|
userSettings = userSettingsPath;
|
|
};
|
|
};
|
|
}
|