Files
Nomarchy/bin/nomarchy-install-steam
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

24 lines
655 B
Bash
Executable File

#!/usr/bin/env bash
# Configure Steam declaratively for NixOS
FEATURE_FILE="/etc/nixos/nomarchy-features/steam.nix"
if [ -f "$FEATURE_FILE" ]; then
echo "Steam is already configured in $FEATURE_FILE"
exit 0
fi
sudo mkdir -p "/etc/nixos/nomarchy-features"
cat <<EOF | sudo tee "$FEATURE_FILE" > /dev/null
{ config, pkgs, ... }:
{
programs.steam.enable = true;
hardware.graphics.enable32Bit = true; # Needed for many games
}
EOF
echo "Created $FEATURE_FILE."
echo "IMPORTANT: To finish enabling Steam, add './nomarchy-features/steam.nix' to your imports list in /etc/nixos/system.nix or /etc/nixos/flake.nix,"
echo "then run 'sys-update'."