refactor: cleaned up nixos and home dirs

This commit is contained in:
Nick 2025-02-06 14:27:52 -06:00
parent 824a91d405
commit e596e1c1b3
582 changed files with 2 additions and 22 deletions

View 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;
};
};
}