mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-08 05:49:25 -06:00
chore: init
This commit is contained in:
commit
1b2c1ea359
891 changed files with 37053 additions and 0 deletions
40
modules/home/gui/apps/code/vsCode/default.nix
Executable file
40
modules/home/gui/apps/code/vsCode/default.nix
Executable file
|
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
flake,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
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
|
||||
config
|
||||
;
|
||||
};
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
package = pkgs.vscode;
|
||||
# haskell.enable = true;
|
||||
# hie.enable = true;
|
||||
profiles.default = {
|
||||
keybindings = keybindingsPath;
|
||||
extensions = extensionsPath;
|
||||
userSettings = userSettingsPath;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue