2024-04-07 22:14:35 -04:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
2024-03-29 07:31:00 -04:00
|
|
|
options = {
|
2024-04-17 22:39:00 -04:00
|
|
|
alyraffauf.apps.vsCodium.enable = lib.mkEnableOption "Enables VSCodium.";
|
2024-03-29 07:31:00 -04:00
|
|
|
};
|
2024-03-29 07:21:25 -04:00
|
|
|
|
2024-04-17 22:39:00 -04:00
|
|
|
config = lib.mkIf config.alyraffauf.apps.vsCodium.enable {
|
|
|
|
alyraffauf.apps.alacritty.enable = lib.mkDefault true;
|
2024-03-29 11:20:37 -04:00
|
|
|
|
2024-03-29 07:21:25 -04:00
|
|
|
programs.vscode = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.vscodium;
|
|
|
|
enableUpdateCheck = false;
|
2024-03-29 11:16:31 -04:00
|
|
|
enableExtensionUpdateCheck = false;
|
2024-03-29 07:21:25 -04:00
|
|
|
userSettings = {
|
2024-03-29 11:16:31 -04:00
|
|
|
"diffEditor.ignoreTrimWhitespace" = false;
|
2024-05-05 17:27:29 -04:00
|
|
|
"editor.fontFamily" = "'NotoSansM Nerd Font','${config.alyraffauf.desktop.theme.terminalFont.name}', 'monospace', monospace";
|
2024-03-29 11:16:31 -04:00
|
|
|
"explorer.confirmDelete" = false;
|
|
|
|
"files.autoSave" = "afterDelay";
|
2024-03-29 07:21:25 -04:00
|
|
|
"git.autofetch" = true;
|
|
|
|
"git.confirmSync" = false;
|
2024-05-05 19:39:36 -04:00
|
|
|
"nix.formatterPath" = lib.getExe pkgs.alejandra;
|
2024-05-05 22:00:46 -04:00
|
|
|
"terminal.external.linuxExec" = config.alyraffauf.desktop.defaultApps.terminal.exe;
|
2024-03-29 11:16:31 -04:00
|
|
|
"update.mode" = "none";
|
|
|
|
"window.menuBarVisibility" = "hidden";
|
2024-03-29 07:21:25 -04:00
|
|
|
"window.zoomPerWindow" = false;
|
2024-03-29 11:16:31 -04:00
|
|
|
"workbench.colorTheme" = "Catppuccin Macchiato";
|
2024-03-29 07:21:25 -04:00
|
|
|
"workbench.iconTheme" = "catppuccin-macchiato";
|
2024-03-29 11:16:31 -04:00
|
|
|
"workbench.preferredDarkColorTheme" = "Catppuccin Macchiato";
|
|
|
|
"workbench.preferredLightColorTheme" = "Catppuccin Latte";
|
2024-03-29 07:21:25 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
extensions = with pkgs; [
|
|
|
|
vscode-extensions.catppuccin.catppuccin-vsc
|
|
|
|
vscode-extensions.catppuccin.catppuccin-vsc-icons
|
|
|
|
vscode-extensions.github.vscode-github-actions
|
|
|
|
vscode-extensions.github.vscode-pull-request-github
|
2024-03-29 11:03:03 -04:00
|
|
|
vscode-extensions.jnoortheen.nix-ide
|
2024-04-21 14:49:48 -04:00
|
|
|
vscode-extensions.justusadam.language-haskell
|
2024-03-29 07:21:25 -04:00
|
|
|
vscode-extensions.ms-python.python
|
|
|
|
vscode-extensions.ms-vscode.cpptools-extension-pack
|
|
|
|
vscode-extensions.rubymaniac.vscode-paste-and-indent
|
|
|
|
vscode-extensions.rust-lang.rust-analyzer
|
|
|
|
vscode-extensions.tomoki1207.pdf
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|