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
This commit is contained in:
Julian Sutter 2025-07-31 01:13:57 -07:00
parent 6a4fa7dcef
commit f6e63e555c
9 changed files with 124 additions and 64 deletions

View file

@ -1,6 +1,13 @@
{ config, pkgs, pkgs-unstable, ... }:
{ config, pkgs, pkgs-unstable, lib, ... }:
{
# Add this module's pinned applications
desktop.plasma.pinnedApps = [
"applications:slack.desktop" # Team communication
"applications:signal-desktop.desktop" # Private messaging
"applications:libreoffice-writer.desktop" # Write (LibreOffice Writer)
"applications:libreoffice-calc.desktop" # Calc (LibreOffice Calc)
];
environment.systemPackages = with pkgs; [
libreoffice-qt
thunderbird
@ -9,4 +16,7 @@
# gimp # Temporarily commented out to avoid build errors
# calibre
];
}