Skip to content

Commit

Permalink
Forgot to add lib to lib.elem
Browse files Browse the repository at this point in the history
  • Loading branch information
imadnyc committed Nov 6, 2023
1 parent bb58116 commit d03b234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/steam/autostart.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ in
desktopSession = mkOption {
type = with types ; nullOr str // {
check = userProvidedDesktopSession:
lib.assertMsg (userProvidedDesktopSession != null -> (str.check userProvidedDesktopSession && elem userProvidedDesktopSession config.services.xserver.displayManager.sessionData.sessionNames)) ''
lib.assertMsg (userProvidedDesktopSession != null -> (str.check userProvidedDesktopSession && lib.elem userProvidedDesktopSession config.services.xserver.displayManager.sessionData.sessionNames)) ''
Desktop session '${userProvidedDesktopSession}' not found.
Valid values for 'jovian.steam.desktopSession' are:
${lib.concatStringsSep "\n " (lib.lists.remove "gamescope-wayland" config.services.xserver.displayManager.sessionData.sessionNames)}
Expand Down

0 comments on commit d03b234

Please sign in to comment.