From 26cf1cd2417736289e993fc2d83aa758854e82fc Mon Sep 17 00:00:00 2001 From: Julian Sutter Date: Thu, 27 Nov 2025 11:24:32 -0800 Subject: [PATCH] disable app pinning to taskbar, now kde managed --- desktop/dev.nix | 6 ------ desktop/gaming.nix | 5 ----- desktop/office.nix | 7 ------- desktop/plasma.nix | 24 ------------------------ 4 files changed, 42 deletions(-) diff --git a/desktop/dev.nix b/desktop/dev.nix index b315432..4760dfd 100644 --- a/desktop/dev.nix +++ b/desktop/dev.nix @@ -1,17 +1,11 @@ { config, pkgs, pkgs-unstable, lib, ... }: { - # Add this module's pinned applications - desktop.plasma.pinnedApps = [ -# "windsurf.desktop" # Windsurf IDE - ]; environment.systemPackages = with pkgs; [ (python3.withPackages(ps: with ps; [ pandas requests python-dotenv pip uv ])) nodejs -# rpi-imager putty # SSH/Telnet client -# pkgs-unstable.windsurf # Use windsurf from unstable packages ]; programs.nix-ld.enable = true; diff --git a/desktop/gaming.nix b/desktop/gaming.nix index 291811d..c9e03ae 100644 --- a/desktop/gaming.nix +++ b/desktop/gaming.nix @@ -1,11 +1,6 @@ { 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; [ discord # Gaming communication diff --git a/desktop/office.nix b/desktop/office.nix index 63395f5..3b3626f 100644 --- a/desktop/office.nix +++ b/desktop/office.nix @@ -1,13 +1,6 @@ { 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; [ libreoffice-qt thunderbird diff --git a/desktop/plasma.nix b/desktop/plasma.nix index 99cee9b..1d7ccb2 100644 --- a/desktop/plasma.nix +++ b/desktop/plasma.nix @@ -1,21 +1,6 @@ { 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.displayManager.sddm.enable = true; @@ -64,13 +49,4 @@ 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)} - ''; - }]; - }; }