16 lines
298 B
Nix
16 lines
298 B
Nix
{ config, lib, pkgs, inputs, ... }:
|
|
let
|
|
cfg = config.modules.plasma;
|
|
in
|
|
{
|
|
options.modules.plasma = {
|
|
enable = lib.mkEnableOption "enable kde plasma 6";
|
|
};
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
services.desktopManager.plasma6.enable = true;
|
|
|
|
xdg.portal.config.common.default = "*";
|
|
};
|
|
}
|