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

@ -112,7 +112,13 @@ in {
default = cfg.desktop.hyprland.enable || cfg.desktop.sway.enable; default = cfg.desktop.hyprland.enable || cfg.desktop.sway.enable;
type = lib.types.bool; 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 = { hyprland = {
enable = lib.mkOption { enable = lib.mkOption {
description = "Hyprland with full desktop session components."; description = "Hyprland with full desktop session components.";
@ -132,12 +138,6 @@ in {
type = lib.types.listOf lib.types.str; 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 { redShift = lib.mkOption {
description = "Whether to redshift display colors at night."; description = "Whether to redshift display colors at night.";
default = cfg.desktop.hyprland.enable; default = cfg.desktop.hyprland.enable;
@ -195,12 +195,6 @@ in {
type = lib.types.bool; 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 { redShift = lib.mkOption {
description = "Whether to redshift display colors at night."; description = "Whether to redshift display colors at night.";
default = cfg.desktop.sway.enable; default = cfg.desktop.sway.enable;