home/desktop: move randomWallpaper to to desktop

This commit is contained in:
Aly Raffauf 2024-07-30 16:08:16 -04:00
parent b66cfc3e38
commit 94daf84fbf

View file

@ -113,6 +113,12 @@ in {
type = lib.types.bool;
};
randomWallpaper = lib.mkOption {
description = "Whether to enable random wallpaper script.";
default = cfg.desktop.hyprland.enable || cfg.desktop.sway.enable;
type = lib.types.bool;
};
hyprland = {
enable = lib.mkOption {
description = "Hyprland with full desktop session components.";
@ -132,12 +138,6 @@ in {
type = lib.types.listOf lib.types.str;
};
randomWallpaper = lib.mkOption {
description = "Whether to enable random wallpaper script.";
default = cfg.desktop.hyprland.enable;
type = lib.types.bool;
};
redShift = lib.mkOption {
description = "Whether to redshift display colors at night.";
default = cfg.desktop.hyprland.enable;
@ -195,12 +195,6 @@ in {
type = lib.types.bool;
};
randomWallpaper = lib.mkOption {
description = "Whether to enable random wallpaper script.";
default = cfg.desktop.sway.enable;
type = lib.types.bool;
};
redShift = lib.mkOption {
description = "Whether to redshift display colors at night.";
default = cfg.desktop.sway.enable;