From 6149476222fa08cad35fd5039eae6d0c4f9efc77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sat, 9 Nov 2024 13:02:10 +0100 Subject: [PATCH] add vscode --- programs/editors/default.nix | 3 ++- programs/editors/vscode/default.nix | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 programs/editors/vscode/default.nix diff --git a/programs/editors/default.nix b/programs/editors/default.nix index e034b07f..d3174098 100644 --- a/programs/editors/default.nix +++ b/programs/editors/default.nix @@ -1,5 +1,6 @@ -_: { +{config, ...}: { imports = [ ./nvim ]; + home-manager.users.darkkirb.imports = if config.isGraphical then [./vscode] else []; } diff --git a/programs/editors/vscode/default.nix b/programs/editors/vscode/default.nix new file mode 100644 index 00000000..35a3637d --- /dev/null +++ b/programs/editors/vscode/default.nix @@ -0,0 +1,8 @@ +{...}: { + programs.vscode = { + enable = true; + enableExtensionUpdateCheck = false; + enableUpdateCheck = false; + mutableExtensionsDir = false; + }; +}