nix-git/modules/vscodium.nix

32 lines
1.0 KiB
Nix
Raw Normal View History

2023-10-20 14:57:56 +02:00
{ config, pkgs, lib, ... }:
2023-10-19 11:56:37 +02:00
{
# Integrated Development Environment (IDE)
2023-10-20 14:57:56 +02:00
environment.sessionVariables.NIXOS_OZONE_WL = lib.mkIf (config.services.xserver.displayManager.gdm.wayland) "1";
2023-10-19 11:56:37 +02:00
environment.systemPackages = with pkgs; [
(vscode-with-extensions.override {
vscode = vscodium;
vscodeExtensions = with vscode-extensions; [
#ms-azuretools.vscode-docker
#ms-vscode-remote.remote-ssh
2023-10-19 13:31:22 +02:00
# Load environment from `shell.nix`.
2023-10-19 11:56:37 +02:00
# https://matthewrhone.dev/nixos-vscode-environment
2023-10-19 13:31:22 +02:00
# https://github.com/arrterian/nix-env-selector
2023-10-19 11:56:37 +02:00
arrterian.nix-env-selector
2023-10-19 13:31:22 +02:00
# Extended Markdown support, e.g. insert TOC.
# https://github.com/yzhang-gh/vscode-markdown
yzhang.markdown-all-in-one
# Nix language support.
# https://github.com/bbenoist/vscode-nix
bbenoist.nix
# Python language support:
# IntelliSense (Pylance), Linting, Debugging, code formatting, unit tests, etc.
2023-10-19 11:56:37 +02:00
ms-python.python
];
})
];
}