2021-11-15 22:28:01 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.ptw.programs.plasma;
|
|
|
|
in {
|
|
|
|
options.ptw.programs.plasma = {
|
|
|
|
enable = lib.mkEnableOption "Enable KDE Plasma";
|
2021-12-06 13:20:39 +00:00
|
|
|
mobile = lib.mkEnableOption "Enable Plasma Mobile";
|
2021-11-15 22:28:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
services.xserver.desktopManager.plasma5 = {
|
|
|
|
enable = true;
|
|
|
|
runUsingSystemd = true;
|
|
|
|
supportDDC = true;
|
2021-12-06 13:20:39 +00:00
|
|
|
mobile.enable = cfg.mobile;
|
2021-11-15 22:28:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
xdg.portal = {
|
|
|
|
enable = true;
|
|
|
|
extraPortals = [ pkgs.xdg-desktop-portal-kde ];
|
|
|
|
};
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
yakuake
|
|
|
|
libsForQt5.okular
|
|
|
|
libsForQt5.kdeconnect-kde
|
2021-12-06 20:50:40 +00:00
|
|
|
libsForQt5.breeze-gtk
|
2021-11-15 22:28:01 +00:00
|
|
|
index-fm
|
2021-12-06 20:50:40 +00:00
|
|
|
#kasts-git
|
2021-12-06 12:39:37 +00:00
|
|
|
rsibreak
|
2021-11-15 22:28:01 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|