nix-git/modules/vscodium.nix

41 lines
1.4 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
2023-11-03 16:14:15 +01:00
2023-10-19 13:31:22 +02:00
# Nix language support.
# https://github.com/bbenoist/vscode-nix
bbenoist.nix
2023-11-03 16:14:15 +01:00
2023-10-19 13:31:22 +02:00
# Python language support:
# IntelliSense (Pylance), Linting, Debugging, code formatting, unit tests, etc.
2023-10-19 11:56:37 +02:00
ms-python.python
2023-11-03 16:14:15 +01:00
# Python formatting.
# https://code.visualstudio.com/docs/python/formatting#_choose-a-formatter # Not yet packaged.
# https://marketplace.visualstudio.com/items?itemName=ms-python.autopep8 # Not yet packaged.
2023-10-22 16:04:53 +02:00
# Jinja2 Templating
vscode-extensions.wholroyd.jinja
#samuelcolvin.jinjahtml # Not yet packaged.
2023-10-19 11:56:37 +02:00
];
})
];
}