Skip to content

Commit

Permalink
Desktop: adding plasma6 to the stack
Browse files Browse the repository at this point in the history
  • Loading branch information
Icy-Thought committed Feb 29, 2024
1 parent 706123f commit 0444f0b
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions modules/desktop/skeleton/plasma.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
options,
config,
lib,
pkgs,
...
}: let
inherit (lib.attrsets) attrValues;
inherit (lib.modules) mkIf;
in {
options.modules.desktop.plasma = let
inherit (lib.options) mkEnableOption;
in {enable = mkEnableOption "modern desktop environment";};

config = mkIf config.modules.desktop.plasma.enable {
modules.desktop = {
envProto = "wayland";
extensions.input-method = {
enable = true;
framework = "fcitx5";
};
};

programs.dconf.enable = true;

services.xserver.desktopManager = {
plasma6 = {
enable = true;
enableQt5Integration = false;
excludePackages = attrValues {
inherit (pkgs.kdePackages) konsole oxygen;
};
};
defaultSession = "plasmawayland";
};
};
}

0 comments on commit 0444f0b

Please sign in to comment.