Files
Nomarchy/bin/nomarchy-install-vscode
Bernardo Magri 29cc0d2547 feat: implement modular foundation and core system services
- Update flake.nix with 25.11 release and core inputs
- Add dedicated modules for audio (Pipewire), bluetooth, and networking
- Update GEMINI.md with the new Modular Merging Architecture blueprint
- Configure graphical installer ISO and test VM outputs
2026-04-03 21:06:42 +01:00

23 lines
756 B
Bash
Executable File

#!/usr/bin/env bash
# Install VSCode declaratively for Nomarchy NixOS.
echo "Installing VSCode..."
nomarchy-pkg-add vscode
# VSCode still allows some runtime configuration in its JSON files.
mkdir -p ~/.config/Code/User
# Ensure VSC's own auto-update feature is turned off
if [ ! -f ~/.config/Code/User/settings.json ]; then
echo '{"update.mode": "none"}' > ~/.config/Code/User/settings.json
else
# Update existing settings.json with update.mode: none using jq
jq '. + {"update.mode": "none"}' ~/.config/Code/User/settings.json > ~/.config/Code/User/settings.json.tmp && mv ~/.config/Code/User/settings.json.tmp ~/.config/Code/User/settings.json
fi
# Apply Nomarchy theme to VSCode
nomarchy-theme-set-vscode
setsid code >/dev/null 2>&1 &