mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 20:09:17 -05:00
home/desktop: move randomWallpaper to to desktop
This commit is contained in:
parent
b66cfc3e38
commit
94daf84fbf
|
@ -113,6 +113,12 @@ in {
|
||||||
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;
|
||||||
|
|
Loading…
Reference in a new issue