mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-21 23:33:56 -05:00
home: added vscodium by default
This commit is contained in:
parent
9cf572a663
commit
df2a9093ad
|
@ -1,8 +1,18 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./alacritty ./chromium ./firefox ./fuzzel ./librewolf ./mako ./waybar ];
|
||||
imports = [
|
||||
./alacritty
|
||||
./chromium
|
||||
./firefox
|
||||
./fuzzel
|
||||
./librewolf
|
||||
./mako
|
||||
./vsCode
|
||||
./waybar
|
||||
];
|
||||
|
||||
guiApps.firefox.enable = lib.mkDefault true;
|
||||
guiApps.alacritty.enable = lib.mkDefault true;
|
||||
guiApps.vsCode.enable = lib.mkDefault true;
|
||||
}
|
||||
|
|
46
homeManagerModules/guiApps/vsCode/default.nix
Normal file
46
homeManagerModules/guiApps/vsCode/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
|
||||
options = { guiApps.vsCode.enable = lib.mkEnableOption "Enables VSCodium."; };
|
||||
|
||||
config = lib.mkIf config.guiApps.vsCode.enable {
|
||||
|
||||
# Necessary fonts.
|
||||
home.packages = with pkgs; [
|
||||
pkgs.nerdfonts.override { fonts = [ "Noto" ]; };
|
||||
];
|
||||
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.vscodium;
|
||||
enableUpdateCheck = false;
|
||||
userSettings = {
|
||||
"update.mode" = "none";
|
||||
"workbench.colorTheme" = "Catppuccin Macchiato";
|
||||
"workbench.preferredDarkColorTheme" = "Catppuccin Macchiato";
|
||||
"git.autofetch" = true;
|
||||
"git.confirmSync" = false;
|
||||
"files.autoSave" = "afterDelay";
|
||||
"workbench.preferredLightColorTheme" = "Catppuccin Latte";
|
||||
"window.zoomPerWindow" = false;
|
||||
"explorer.confirmDelete" = false;
|
||||
"workbench.iconTheme" = "catppuccin-macchiato";
|
||||
"editor.fontFamily" =
|
||||
"'NotoSansM Nerd Font', 'monospace', monospace";
|
||||
"window.menuBarVisibility" = "hidden";
|
||||
"diffEditor.ignoreTrimWhitespace" = false;
|
||||
};
|
||||
|
||||
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
|
||||
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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue