mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +01:00
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
1 changed files with 11 additions and 1 deletions
|
@ -22,7 +22,17 @@ in
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
services.random-background = {
|
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 {
|
imageDirectory = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
|
|
Loading…
Reference in a new issue