mirror of
https://github.com/nix-community/home-manager
synced 2024-11-22 20:53:14 +00:00
xsession: warn about windowManager option removal
This commit is contained in:
parent
2ff8c12bf9
commit
c144580c98
1 changed files with 13 additions and 0 deletions
|
@ -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.
|
||||
'';
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue