summaryrefslogtreecommitdiffstats
path: root/modules/desktop/apps/editors
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/apps/editors')
-rw-r--r--modules/desktop/apps/editors/vscode.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/modules/desktop/apps/editors/vscode.nix b/modules/desktop/apps/editors/vscode.nix
new file mode 100644
index 0000000..f2db004
--- /dev/null
+++ b/modules/desktop/apps/editors/vscode.nix
@@ -0,0 +1,29 @@
+{
+ config,
+ options,
+ lib,
+ pkgs,
+ ...
+}: let
+ codeConf = config.modules.desktop.apps.editors.vscode;
+ configDir = config.nixosConfig.configDir;
+in {
+ options.modules.desktop.apps.editors.vscode = {
+ enable = lib.mkOption {
+ type = lib.types.bool;
+ default = false;
+ };
+ };
+
+ config = lib.mkIf (codeConf.enable) {
+ home.manager.programs.vscode = {
+ enable = true;
+ package = pkgs.vscode;
+ extensions = with pkgs.vscode-extensions; [
+ catppuccin.catppuccin-vsc
+ catppuccin.catppuccin-vsc-icons
+ ms-dotnettools.csharp
+ ];
+ };
+ };
+}