# Desktop
services.xserver.enable = true;
services.xserver.displayManager.sddm.enable = true;
#services.xserver.displayManager.lightdm.enable = true;
services.xserver.desktopManager.plasma5.enable = true;
services.xserver.videoDrivers = [ "intel" ];
# Make screen horizontal and fix resulting touchscreen breakage.
services.xserver.monitorSection = "Option \"Rotate\" \"right\"";
services.xserver.inputClassSections = [ ''
Identifier "touchscreen geometry fix"
MatchProduct "ELAN22A6:00 04F3:22AA"
Option "TransformationMatrix" "0 1 0 -1 0 1 0 0 1"
'' ];
ICAjIERlc2t0b3AKICBzZXJ2aWNlcy54c2VydmVyLmVuYWJsZSA9IHRydWU7CiAgc2VydmljZXMueHNlcnZlci5kaXNwbGF5TWFuYWdlci5zZGRtLmVuYWJsZSA9IHRydWU7CiAgI3NlcnZpY2VzLnhzZXJ2ZXIuZGlzcGxheU1hbmFnZXIubGlnaHRkbS5lbmFibGUgPSB0cnVlOwogIHNlcnZpY2VzLnhzZXJ2ZXIuZGVza3RvcE1hbmFnZXIucGxhc21hNS5lbmFibGUgPSB0cnVlOwogIHNlcnZpY2VzLnhzZXJ2ZXIudmlkZW9Ecml2ZXJzID0gWyAiaW50ZWwiIF07CiAgCiAgIyBNYWtlIHNjcmVlbiBob3Jpem9udGFsIGFuZCBmaXggcmVzdWx0aW5nIHRvdWNoc2NyZWVuIGJyZWFrYWdlLgogIHNlcnZpY2VzLnhzZXJ2ZXIubW9uaXRvclNlY3Rpb24gPSAiT3B0aW9uIFwiUm90YXRlXCIgXCJyaWdodFwiIjsKICBzZXJ2aWNlcy54c2VydmVyLmlucHV0Q2xhc3NTZWN0aW9ucyA9IFsgJycKICAgIElkZW50aWZpZXIgInRvdWNoc2NyZWVuIGdlb21ldHJ5IGZpeCIKICAgIE1hdGNoUHJvZHVjdCAiRUxBTjIyQTY6MDAgMDRGMzoyMkFBIgogICAgT3B0aW9uICJUcmFuc2Zvcm1hdGlvbk1hdHJpeCIgIjAgMSAwIC0xIDAgMSAwIDAgMSIKICAnJyBdOwo=