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
This commit is contained in:
Bernardo Magri
2026-04-03 21:06:42 +01:00
parent 33deeb494b
commit 29cc0d2547
49 changed files with 1628 additions and 855 deletions

View File

@@ -1,29 +1,22 @@
#!/bin/bash
#!/usr/bin/env bash
# Install VSCode and configure it to use the gnome-libsecret password store, not to update automatically, and to use the current Nomarchy theme.
# Install VSCode declaratively for Nomarchy NixOS.
echo "Installing VSCode..."
nomarchy-pkg-add visual-studio-code-bin
nomarchy-pkg-add vscode
mkdir -p ~/.vscode ~/.config/Code/User
cat > ~/.vscode/argv.json << 'EOF'
// This configuration file allows you to pass permanent command line arguments to VS Code.
// Only a subset of arguments is currently supported to reduce the likelihood of breaking
// the installation.
//
// PLEASE DO NOT CHANGE WITHOUT UNDERSTANDING THE IMPACT
//
// NOTE: Changing this file requires a restart of VS Code.
{
"password-store":"gnome-libsecret"
}
EOF
# 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
printf '{\n "update.mode": "none"\n}\n' > ~/.config/Code/User/settings.json
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 gtk-launch code
setsid code >/dev/null 2>&1 &