1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-04 18:29:45 +01:00

xsession: warn about windowManager option removal

This commit is contained in:
Robert Helgesson 2017-10-19 11:43:41 +02:00
parent 2ff8c12bf9
commit c144580c98
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -338,6 +338,19 @@ in
pages are installed for packages in 'home.packages'. 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.
'';
}
]; ];
}; };
} }