From d93dc82ee92b80c20d57674a30943fed0f754655 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 29 May 2023 22:41:44 +0200 Subject: [PATCH] nixos/river: fix display manager error --- nixos/modules/programs/wayland/river.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/programs/wayland/river.nix b/nixos/modules/programs/wayland/river.nix index 20a786ba3c67..71232a7d2618 100644 --- a/nixos/modules/programs/wayland/river.nix +++ b/nixos/modules/programs/wayland/river.nix @@ -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; }) ]);