nixos-config/modules/plasma.nix

17 lines
341 B
Nix
Raw Normal View History

2021-03-30 01:16:19 +00:00
{ config, pkgs, lib, ... }:
let
cfg = config.sconfig.plasma;
in
2021-03-10 03:54:12 +00:00
{
2021-03-30 01:16:19 +00:00
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;
};
2021-03-10 03:54:12 +00:00
};
}