.hive/modules/desktop/de/plasma.nix

23 lines
495 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
];
qt.style.name = "kvantum";
};
}