disable app pinning to taskbar, now kde managed

This commit is contained in:
Julian Sutter 2025-11-27 11:24:32 -08:00
parent 044e79b3c5
commit 26cf1cd241
4 changed files with 0 additions and 42 deletions

View file

@ -1,17 +1,11 @@
{ config, pkgs, pkgs-unstable, lib, ... }: { config, pkgs, pkgs-unstable, lib, ... }:
{ {
# Add this module's pinned applications
desktop.plasma.pinnedApps = [
# "windsurf.desktop" # Windsurf IDE
];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
(python3.withPackages(ps: with ps; [ pandas requests python-dotenv pip uv ])) (python3.withPackages(ps: with ps; [ pandas requests python-dotenv pip uv ]))
nodejs nodejs
# rpi-imager
putty # SSH/Telnet client putty # SSH/Telnet client
# pkgs-unstable.windsurf # Use windsurf from unstable packages
]; ];
programs.nix-ld.enable = true; programs.nix-ld.enable = true;

View file

@ -1,11 +1,6 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
# Add this module's pinned applications
desktop.plasma.pinnedApps = [
"steam.desktop" # Steam gaming platform
"discord.desktop" # Gaming communication
];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
discord # Gaming communication discord # Gaming communication

View file

@ -1,13 +1,6 @@
{ config, pkgs, pkgs-unstable, lib, ... }: { config, pkgs, pkgs-unstable, lib, ... }:
{ {
# Add this module's pinned applications
desktop.plasma.pinnedApps = [
"slack.desktop" # Team communication
"signal-desktop.desktop" # Private messaging
"libreoffice-writer.desktop" # Write (LibreOffice Writer)
"libreoffice-calc.desktop" # Calc (LibreOffice Calc)
];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
libreoffice-qt libreoffice-qt
thunderbird thunderbird

View file

@ -1,21 +1,6 @@
{ config, pkgs, lib, home-manager, ... }: { config, pkgs, lib, home-manager, ... }:
{ {
# Define the module option for pinned applications
options.desktop.plasma.pinnedApps = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [];
description = "List of applications to pin to the Plasma taskbar";
};
config = {
# Add this module's pinned applications
desktop.plasma.pinnedApps = [
"org.kde.konsole.desktop" # Terminal
"org.kde.dolphin.desktop" # Folder explorer
"firefox.desktop" # Firefox browser
"tigervnc.desktop" # TigerVNC
];
services.xserver.enable = true; services.xserver.enable = true;
services.displayManager.sddm.enable = true; services.displayManager.sddm.enable = true;
@ -64,13 +49,4 @@
discover discover
]; ];
# Plasma taskbar pinning configuration for all users
# Pinned applications are defined in each desktop module and merged here
home-manager.sharedModules = [{
xdg.configFile."plasma-org.kde.plasma.desktop-appletsrc".text = ''
[Containments][1][Applets][2][Configuration][General]
launchers=${lib.concatStringsSep "," (map (app: "applications:${app}") config.desktop.plasma.pinnedApps)}
'';
}];
};
} }