19 lines
358 B
Nix
19 lines
358 B
Nix
{ config, lib, ... }:
|
|
let
|
|
feature = "plasma";
|
|
in
|
|
{
|
|
config = lib.mkIf config.${feature}.enable {
|
|
services = {
|
|
desktopManager.plasma6.enable = true;
|
|
displayManager.sddm = {
|
|
enable = true;
|
|
wayland.enable = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
imports = [ ];
|
|
|
|
options.${feature}.enable = lib.mkEnableOption "enables ${feature}";
|
|
}
|