mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-02-07 11:43:06 +01:00
21 lines
469 B
Nix
21 lines
469 B
Nix
{
|
|
lib,
|
|
namespace,
|
|
config,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) mkEnableOption mkIf;
|
|
cfg = config.${namespace}.desktop.plasma;
|
|
in {
|
|
options.${namespace}.desktop.plasma = { enable = mkEnableOption "Whether to enable the KDE Plasma desktop environment"; };
|
|
|
|
config = mkIf cfg.enable {
|
|
services.xserver.enable = true;
|
|
|
|
services.desktopManager.plasma6.enable = true;
|
|
services.displayManager.sddm.enable = true;
|
|
|
|
programs.kdeconnect.enable = true;
|
|
};
|
|
}
|