.hive/modules/desktop/de/plasma.nix
2024-04-17 16:47:06 +02:00

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
];
};
}