puzzlevision/modules/nixos/desktop/plasma/default.nix
Jo e1bbf4856e refactor: clean up unused imports
refactor: remove some comments
feat: set VSCodium color scheme to Catppuccin Macchiato
2024-12-03 18:38:19 +01:00

20 lines
No EOL
464 B
Nix

{
lib,
namespace,
config,
...
}: with lib; with lib.${namespace};
let
cfg = config.${namespace}.desktop.plasma;
in {
options.${namespace}.desktop.plasma = { enable = mkEnableOption "Whether to enable the KDE Plasma desktop environment"; };
config = mkIf cfg.enable {
services.xserver.enable = true;
services.desktopManager.plasma6.enable = true;
services.displayManager.sddm.enable = true;
programs.kdeconnect.enable = true;
};
}