From c144580c98b24bd7074ad1a88a1a34296f3895d7 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Thu, 19 Oct 2017 11:43:41 +0200 Subject: [PATCH] xsession: warn about windowManager option removal --- modules/misc/news.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/misc/news.nix b/modules/misc/news.nix index c7be03c85..0c899ad60 100644 --- a/modules/misc/news.nix +++ b/modules/misc/news.nix @@ -338,6 +338,19 @@ in pages are installed for packages in 'home.packages'. ''; } + + { + time = "2017-10-19T09:33:10+00:00"; + condition = + config.xsession.enable + && config.xsession.windowManager.usesDeprecated; + message = '' + The 'xsession.windowManager' option is deprecated and will + be removed on October 31, 2017. To avoid evaluation errors + you must change to using 'xsession.windowManager.command' + before that date. + ''; + } ]; }; }