nixos/desktop/gaming.nix
Julian Sutter f6e63e555c Implement modular Plasma taskbar pinning system
- Add modular pinning system using NixOS module options
- Each desktop module now defines its own pinned applications:
  * plasma.nix: konsole, dolphin, firefox, tigervnc
  * gaming.nix: steam, discord
  * office.nix: slack, signal, libreoffice-writer, libreoffice-calc
  * dev.nix: windsurf
  * media.nix: rustdesk
  * dnm.nix: tor-browser, kleopatra (moved from crypto.nix)
- Move Plasma config from user-specific to desktop module for consistency
- Rename crypto.nix to dnm.nix and update references
- All users with Plasma desktop get automatic taskbar pinning
- Applications only appear when their desktop modules are active
2025-07-31 01:13:57 -07:00

26 lines
642 B
Nix

{ config, pkgs, lib, ... }:
{
# Add this module's pinned applications
desktop.plasma.pinnedApps = [
"applications:steam.desktop" # Steam gaming platform
"applications:discord.desktop" # Gaming communication
];
environment.systemPackages = with pkgs; [
discord # Gaming communication
stremio # Media streaming
# parsec-bin
# bottles
];
# Steam
programs.steam = with pkgs; {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
};
}