Merge pull request #234875 from GaetanLepage/river

nixos/river: fix display manager error
This commit is contained in:
Weijia Wang 2023-05-30 08:46:06 +03:00 committed by GitHub
commit 1eaf23e8fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ in {
environment.systemPackages = optional (cfg.package != null) cfg.package ++ cfg.extraPackages;
# To make a river session available if a display manager like SDDM is enabled:
programs.xwayland.enable = mkDefault true;
services.xserver.displayManager.sessionPackages = optionals (cfg.package != null) [ cfg.package ];
}
(import ./wayland-session.nix { inherit lib pkgs; })
]);