refactor: update a few sections, add fonts, add vscodium to home-manager

This commit is contained in:
Ruben 2024-04-17 21:15:23 -05:00
commit f49bc059c9
No known key found for this signature in database
GPG key ID: AE181294E97E4802
2 changed files with 45 additions and 4 deletions

View file

@ -87,6 +87,28 @@
};
};
programs.vscode = {
enable = true;
package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [
vscodevim.vim
catppuccin.catppuccin-vsc
catppuccin.catppuccin-vsc-icons
arrterian.nix-env-selector
donjayamanne.githistory
];
userSettings = {
"editor.fontFamily" = "\'JetBrainsMono Nerd Font\', \'Terminus (TTF)\', \'Droid Sans Mono\', \'monospace\', monospace";
"editor.fontSize" = 16;
"workbench.colorTheme" = "Catppuccin Mocha";
#"workbench.iconTheme" = "material-icon-theme";
"files.eol" = "\n";
"editor.cursorBlinking" = "phase";
};
};
xdg.userDirs.enable = true;
# music!!
@ -114,12 +136,15 @@
sd
starship
zoxide
usbutils
jq
ffmpeg_6-full
imagemagick
yt-dlp
mpv
nextcloud-client
];
# Nicely reload system units when changing configs

View file

@ -164,12 +164,28 @@
# don't install some of the default packages since i don't need them
environment.plasma6.excludePackages = with pkgs.kdePackages; [
plasma-browser-integration
#konsole
#oxygen
];
# this enables the ozone stuff on wayland for chromium and electron and shit
environment.variables.NIXOS_OZONE_WL = "1";
environment.variables = {
# wayland related
NIXOS_OZONE_WL = "1";
# custom sudo prompt for the xds
SUDO_PROMPT = "[sudo] stick out your gyatt for the rizzler: ";
};
fonts = {
packages = with pkgs; [
noto-fonts
liberation_ttf
fira
unifont
(nerdfonts.override { fonts = [ "JetBrainsMono" "Iosevka" "FiraCode" "DroidSansMono" ]; })
noto-fonts-color-emoji
];
fontconfig.defaultFonts = {
emoji = [ "Noto Color Emoji" ];
};
};
# Enable sound with pipewire.
sound.enable = true;