fix some regressions

This commit is contained in:
2025-10-29 15:26:46 +01:00
parent 6c53fe1aae
commit f5d5791efd
5 changed files with 147 additions and 90 deletions

View File

@@ -1,24 +1,16 @@
{pkgs, ...}:
let
baseExtensions = with pkgs.vscode-extensions; [
baseExtensions = with pkgs.vscode-marketplace; [
# QOL
mhutchie.git-graph
redhat.vscode-yaml
github.copilot
github.copilot-chat
# github.copilot
# github.copilot-chat
# Nix environment selector
arrterian.nix-env-selector
continue.continue
];
# baseExtensions = with pkgs; [
# (vscode-with-extensions.override {
# vscodeExtensions = with vscode-extensions; [
# bbenoist.nix
# ];
# })
# ];
baseSettings = {
# visual
@@ -101,17 +93,16 @@ in
{
programs.vscode = {
enable = true;
# install vscode in a FHS environment to allow extensions with prebuilt binaries
# package = pkgs.vscode.fhs;
profiles.default = {
userSettings = baseSettings // {
"window.newWindowProfile" = "development";
};
extensions = [];
};
profiles.development = {
extensions = baseExtensions ++ (with pkgs.vscode-extensions; [
extensions = baseExtensions ++ (with pkgs.vscode-marketplace; [
# python
ms-python.python
ms-python.isort
@@ -134,30 +125,19 @@ in
profiles.science = {
extensions = baseExtensions ++ (with pkgs.vscode-extensions; [
extensions = baseExtensions ++ (with pkgs.vscode-marketplace; [
# python + jupyter
ms-python.python
ms-python.isort
ms-python.debugpy
ms-python.vscode-pylance
ms-toolsai.vscode-jupyter-slideshow
ms-toolsai.jupyter
ms-toolsai.jupyter-hub
ms-toolsai.jupyter-renderers
# Typst
myriad-dreamin.tinymist
]) ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{
name = "jupyter";
publisher = "ms-toolsai";
version = "2025.3.2025032101";
sha256 = "sha256-s2qEUl9J6EOije6MasZOnHErYs3NYXBqLSfMT03vEH0=";
}
{
name = "jupyter-hub";
publisher = "ms-toolsai";
version = "2024.10.1002831100";
sha256 = "sha256-5IRczwXbYkDdYEOXvQnnH+HJNLvsRsrZ6fnoVCveqrs=";
}
];
]);
keybindings = baseKeybindings ++ [
# run code cell in jupyter
@@ -196,10 +176,7 @@ in
"workbench.colorCustomizations" = {
"statusBar.background" = "#003f9293";
};
};
};
};
}

View File

@@ -79,8 +79,6 @@
};
};
# write the watt-config under /etc/watt.toml
services.irqbalance = {
enable = true;