ark/users/modules/code/default.nix

35 lines
876 B
Nix
Raw Normal View History

2023-05-04 03:13:26 +03:00
{
pkgs,
inputs,
...
}: {
# stylix.targets.vscode.enable = false;
programs.vscode = {
enable = true;
package = pkgs.vscodium;
extensions = with inputs.vscode-extensions.extensions.x86_64-linux.vscode-marketplace; [
mkhl.direnv
bbenoist.nix
svelte.svelte-vscode
bradlc.vscode-tailwindcss
2024-01-14 22:05:39 +03:00
# (rust-lang.rust-analyzer.overrideAttrs (old: {
# src = old.src.overrideAttrs (old: {
# outputHash = "sha256-k9eDTY9y2ejg4jTApji8X6UmKYK/eCLMZJbiYuoTuyY=";
# });
# }))
rust-lang.rust-analyzer
2023-05-04 03:13:26 +03:00
];
userSettings = {
"files.associations" = {
"*.css" = "tailwindcss";
};
"editor.quickSuggestions" = {
"strings" = "on";
};
"editor.suggest.showStatusBar" = true;
"editor.formatOnSave" = true;
# "workbench.colorTheme" = "1am";
};
};
}