{pkgs, ...}: {
  services.xserver = {
    enable = false;
    displayManager = {
      lightdm.enable = false;
      defaultSession = "river";
      session = [
        {
          manage = "desktop";
          name = "river";
          start = ''
            ${pkgs.river}/bin/river;
          '';
        }
      ];
    };
  };
}
# vim: ts=2