From 245c622b3b3ac5f438133091bce93d0aaf945744 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Thu, 19 Oct 2023 11:56:37 +0200 Subject: [PATCH] add vscodium --- hosts/yodaNas/configuration.nix | 1 + hosts/yodaTab/configuration.nix | 1 + hosts/yodaTux/configuration.nix | 1 + hosts/yodaYoga/configuration.nix | 1 + modules/vscodium.nix | 27 +++++++++++++++++++++++++++ 5 files changed, 31 insertions(+) create mode 100644 modules/vscodium.nix diff --git a/hosts/yodaNas/configuration.nix b/hosts/yodaNas/configuration.nix index 4e01a28..404cc60 100644 --- a/hosts/yodaNas/configuration.nix +++ b/hosts/yodaNas/configuration.nix @@ -21,6 +21,7 @@ #../../modules/programs.nix #../../modules/boxes.nix #../../modules/freetube.nix + #../../modules/vscodium.nix #../../modules/signal-desktop.nix #../../modules/element-desktop.nix #../../modules/tor-browser.nix diff --git a/hosts/yodaTab/configuration.nix b/hosts/yodaTab/configuration.nix index 876852f..9faa70e 100644 --- a/hosts/yodaTab/configuration.nix +++ b/hosts/yodaTab/configuration.nix @@ -20,6 +20,7 @@ ../../modules/programs.nix #../../modules/boxes.nix ../../modules/freetube.nix + ../../modules/vscodium.nix ../../modules/signal-desktop.nix ../../modules/element-desktop.nix ../../modules/tor-browser.nix diff --git a/hosts/yodaTux/configuration.nix b/hosts/yodaTux/configuration.nix index 9fa24f3..59caf86 100644 --- a/hosts/yodaTux/configuration.nix +++ b/hosts/yodaTux/configuration.nix @@ -20,6 +20,7 @@ ../../modules/programs.nix ../../modules/boxes.nix ../../modules/freetube.nix + ../../modules/vscodium.nix ../../modules/signal-desktop.nix ../../modules/element-desktop.nix ../../modules/tor-browser.nix diff --git a/hosts/yodaYoga/configuration.nix b/hosts/yodaYoga/configuration.nix index 3631818..e8aa7fe 100644 --- a/hosts/yodaYoga/configuration.nix +++ b/hosts/yodaYoga/configuration.nix @@ -21,6 +21,7 @@ #../../modules/programs.nix #../../modules/boxes.nix #../../modules/freetube.nix + #../../modules/vscodium.nix #../../modules/signal-desktop.nix #../../modules/element-desktop.nix #../../modules/tor-browser.nix diff --git a/modules/vscodium.nix b/modules/vscodium.nix new file mode 100644 index 0000000..e561779 --- /dev/null +++ b/modules/vscodium.nix @@ -0,0 +1,27 @@ +{ config, pkgs, ... }: +{ + # Integrated Development Environment (IDE) + # Wayland support: NIXOS_OZONE_WL=1 + + environment.systemPackages = with pkgs; [ + (vscode-with-extensions.override { + vscode = vscodium; + vscodeExtensions = with vscode-extensions; [ + #bbenoist.nix + #ms-azuretools.vscode-docker + #ms-vscode-remote.remote-ssh + + # https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one + # https://github.com/yzhang-gh/vscode-markdown + yzhang.markdown-all-in-one + + # https://matthewrhone.dev/nixos-vscode-environment + # https://marketplace.visualstudio.com/items?itemName=arrterian.nix-env-selector + arrterian.nix-env-selector + + # IntelliSense (Pylance), Linting, Debugging (multi-threaded, remote), code formatting, refactoring, unit tests, and more. + ms-python.python + ]; + }) + ]; +}