mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
17 lines
341 B
Nix
17 lines
341 B
Nix
|
{ 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;
|
||
|
};
|
||
|
};
|
||
|
}
|