24 lines
471 B
Nix
24 lines
471 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
cfg = config.desktop.de.plasma;
|
|
in {
|
|
options.desktop.de.plasma = {
|
|
enable = lib.mkEnableOption "Enable Plasma desktop environment with sddm";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
# Enable plasma
|
|
services.xserver.desktopManager.plasma5.enable = true;
|
|
|
|
# Install themes and integration
|
|
environment.systemPackages = with pkgs; [
|
|
utterly-nord-plasma
|
|
libsForQt5.qtstyleplugin-kvantum
|
|
];
|
|
};
|
|
}
|