aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2017-10-19 11:43:41 +0200
committerRobert Helgesson <robert@rycee.net>2017-10-19 11:45:04 +0200
commitc144580c98b24bd7074ad1a88a1a34296f3895d7 (patch)
tree32843a07de640099f62b81fd17a1037604274f9a /modules
parent2ff8c12bf96b40c2639057f2a89ec12aad369fe0 (diff)
xsession: warn about windowManager option removal
Diffstat (limited to 'modules')
-rw-r--r--modules/misc/news.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/misc/news.nix b/modules/misc/news.nix
index c7be03c8589..0c899ad600e 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.
+ '';
+ }
];
};
}