mirror of
https://github.com/nix-community/plasma-manager.git
synced 2024-12-02 08:18:44 +03:00
31 lines
897 B
Nix
31 lines
897 B
Nix
{ lib, ... }:
|
|
{
|
|
wallpaperPictureOfTheDayType = with lib.types; submodule {
|
|
options = {
|
|
provider = lib.mkOption {
|
|
type = nullOr (enum [ "apod" "bing" "flickr" "natgeo" "noaa" "wcpotd" "epod" "simonstalenhag" ]);
|
|
description = "The provider for the Picture of the Day plugin.";
|
|
};
|
|
updateOverMeteredConnection = lib.mkOption {
|
|
type = bool;
|
|
default = false;
|
|
description = "Whether to update the wallpaper on a metered connection.";
|
|
};
|
|
};
|
|
};
|
|
|
|
wallpaperSlideShowType = with lib.types; submodule {
|
|
options = {
|
|
path = lib.mkOption {
|
|
type = either path (listOf path);
|
|
description = "The path(s) where the wallpapers are located.";
|
|
};
|
|
interval = lib.mkOption {
|
|
type = int;
|
|
default = 300;
|
|
description = "The length between wallpaper switches.";
|
|
};
|
|
};
|
|
};
|
|
}
|