2024-11-08 03:59:57 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
2021-07-23 15:34:58 +00:00
|
|
|
let
|
|
|
|
cfg = config.sconfig.plasma;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.sconfig.plasma = lib.mkEnableOption "Enable Plasma Desktop";
|
|
|
|
|
|
|
|
config = lib.mkIf cfg {
|
2024-05-27 21:10:14 +00:00
|
|
|
services.libinput.enable = true;
|
2021-07-23 15:34:58 +00:00
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
|
|
|
displayManager.sddm.enable = true;
|
|
|
|
desktopManager.plasma5.enable = true;
|
|
|
|
};
|
2021-07-26 15:16:36 +00:00
|
|
|
hardware.pulseaudio.enable = true;
|
2021-10-08 04:42:37 +00:00
|
|
|
environment.systemPackages = [ pkgs.arc-theme ]; # fix hand cursor in firefox
|
2021-07-23 15:34:58 +00:00
|
|
|
};
|
|
|
|
}
|