random-background: add bgSupport
documentation
On NixOS it is necessary to set `bgSupport = true` when creating a Home Manager desktop manager session. Otherwise NixOS will add code that sets the background, overriding the effort made by the `random-background` module. Fixes #955 Pull request #956
This commit is contained in:
parent
0f1c9f25cf
commit
a12a8f7977
|
@ -22,7 +22,17 @@ in
|
|||
|
||||
options = {
|
||||
services.random-background = {
|
||||
enable = mkEnableOption "random desktop background";
|
||||
enable = mkEnableOption "" // {
|
||||
description = ''
|
||||
Whether to enable random desktop background.
|
||||
</para><para>
|
||||
Note, if you are using NixOS and have set up a custom
|
||||
desktop manager session for Home Manager, then the session
|
||||
configuration must have the <option>bgSupport</option>
|
||||
option set to <literal>true</literal> or the background
|
||||
image set by this module may be overwritten.
|
||||
'';
|
||||
};
|
||||
|
||||
imageDirectory = mkOption {
|
||||
type = types.str;
|
||||
|
|
Loading…
Reference in a new issue