From 43ca54419bc7573bf61d6ee5fa9dd5c9d73ded87 Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Sun, 31 Aug 2025 00:43:05 +0200 Subject: [PATCH] [Desktop] remove Plasma 5 --- desktop/plasma/default.nix | 1 - desktop/plasma/plasma5.nix | 29 ----------------------------- 2 files changed, 30 deletions(-) delete mode 100644 desktop/plasma/plasma5.nix diff --git a/desktop/plasma/default.nix b/desktop/plasma/default.nix index 0670f02..eae9279 100644 --- a/desktop/plasma/default.nix +++ b/desktop/plasma/default.nix @@ -6,7 +6,6 @@ let in { imports = [ - ./plasma5.nix ./plasma6.nix ]; diff --git a/desktop/plasma/plasma5.nix b/desktop/plasma/plasma5.nix deleted file mode 100644 index f0e2e88..0000000 --- a/desktop/plasma/plasma5.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ config, pkgs, lib, ... }: -with lib; -let - cfg = config.aviallon.desktop; - generic = import ./generic.nix { - kdePackages = pkgs.libsForQt5; - }; -in { - config = mkIf (cfg.enable && (cfg.environment == "plasma")) { - # Enable the Plasma 5 Desktop Environment. - services.xserver.desktopManager.plasma5 = { - enable = true; - runUsingSystemd = true; - useQtScaling = true; - - # Removed in: https://github.com/NixOS/nixpkgs/pull/172078 - # and: https://github.com/NixOS/nixpkgs/pull/221721 - # Once this (https://invent.kde.org/plasma/powerdevil/-/issues/19) is solved, make PR to add it back (prehaps by default?) - # supportDDC = true; - }; - - environment.systemPackages = generic.commonPackages ++ [ - pkgs.kio-fuse - ]; - - # We prefer Plasma Wayland - services.displayManager.defaultSession = "plasmawayland"; - }; -}