nixos/modules/plasma/default.nix

26 lines
469 B
Nix
Raw Normal View History

2025-03-29 21:03:07 -04:00
{
lib,
config,
2025-03-30 00:25:15 -04:00
pkgs,
inputs,
2025-03-29 21:03:07 -04:00
...
}: let
cfg = config.lily.plasma;
in {
options.lily.plasma.enable = lib.mkEnableOption "activate plasma";
config = lib.mkIf cfg.enable {
services = {
displayManager.sddm = {
enable = true;
wayland.enable = true;
};
desktopManager.plasma6.enable = true;
};
2025-04-05 22:36:02 -04:00
xdg.portal.enable = true;
xdg.portal.extraPortals = [
pkgs.kdePackages.xdg-desktop-portal-kde
];
2025-03-29 21:03:07 -04:00
};
}