nixconf/modules/nixos/core/desktops/kde/default.nix

21 lines
386 B
Nix

{
lib,
config,
...
}:
{
options.mtxyz.graphical = with lib; {
desktop = mkOption {
type = with types; nullOr (enum [ "kde" ]);
};
};
config = lib.mkIf (config.mtxyz.graphical.desktop == "kde") {
services = {
xserver.displayManager.sddm.enable = true;
desktopManager.plasma6.enable = true;
};
programs.kdeconnect.enable = true;
};
}