nixos-config/modules/plasma.nix

17 lines
341 B
Nix
Raw Normal View History

2021-07-23 15:34:58 +00:00
{ config, pkgs, lib, ... }:
let
cfg = config.sconfig.plasma;
in
{
options.sconfig.plasma = lib.mkEnableOption "Enable Plasma Desktop";
config = lib.mkIf cfg {
services.xserver = {
enable = true;
libinput.enable = true;
displayManager.sddm.enable = true;
desktopManager.plasma5.enable = true;
};
};
}