From f280f88d3eff2ff9e33861d3131579e2bb470799 Mon Sep 17 00:00:00 2001 From: Isshi0417 Date: Wed, 3 Jul 2024 20:32:49 +0900 Subject: [PATCH] Configure VScode --- hosts/default/configuration.nix | 1 - hosts/default/home.nix | 1 + modules/home-manager/vscode.nix | 12 ++++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 modules/home-manager/vscode.nix diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 9396462..d111c8c 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -129,7 +129,6 @@ environment.systemPackages = with pkgs; [ # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. wget - vscode gparted nh dxvk_2 diff --git a/hosts/default/home.nix b/hosts/default/home.nix index 4fb08d7..80a09d1 100644 --- a/hosts/default/home.nix +++ b/hosts/default/home.nix @@ -6,6 +6,7 @@ ../../modules/home-manager/git.nix # ../../modules/home-manager/zsh.nix ../../modules/home-manager/themes/basic-gtk.nix + ../../modules/home-manager/vscode.nix ]; # Allow Unfree diff --git a/modules/home-manager/vscode.nix b/modules/home-manager/vscode.nix new file mode 100644 index 0000000..4d64596 --- /dev/null +++ b/modules/home-manager/vscode.nix @@ -0,0 +1,12 @@ +{ pkgs, ... }: + +{ + home.programs.vscode = { + enable = true; + extensions = with pkgs.vscode-extensions; [ + bbenoist.nix + ms-python.python + ms-python.debugpy + ]; + }; +} \ No newline at end of file