.hive/modules/desktop/de/plasma.nix
2024-04-17 15:42:50 +02:00

21 lines
463 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
];
};
}