From 3cd2b59b8c261e927977b99c382a2c3067449883 Mon Sep 17 00:00:00 2001 From: WORLDofPEACE Date: Fri, 9 Oct 2020 18:38:16 -0400 Subject: [PATCH] nixos/display-managers: install sessionData.desktops Fixes https://github.com/NixOS/nixpkgs/issues/100108 --- nixos/modules/services/x11/display-managers/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/modules/services/x11/display-managers/default.nix b/nixos/modules/services/x11/display-managers/default.nix index 08ce8edd6612..8ac7a9e66c6c 100644 --- a/nixos/modules/services/x11/display-managers/default.nix +++ b/nixos/modules/services/x11/display-managers/default.nix @@ -481,6 +481,13 @@ in ) [dms wms] ); + + # Make xsessions and wayland sessions installed at + # /run/current-system/sw/share as some programs + # have behavior that depends on them being installed + environment.systemPackages = [ + cfg.displayManager.sessionData.desktops + ]; }; imports = [