modules: flatten single-attribute set declarations
This commit is contained in:
parent
bd00e01aab
commit
a4ffbc20ea
4 changed files with 7 additions and 15 deletions
|
|
@ -3,9 +3,7 @@ mkTarget {
|
|||
name = "cava";
|
||||
humanName = "CAVA";
|
||||
|
||||
extraOptions = {
|
||||
rainbow.enable = lib.mkEnableOption "rainbow gradient theming";
|
||||
};
|
||||
extraOptions.rainbow.enable = lib.mkEnableOption "rainbow gradient theming";
|
||||
|
||||
configElements =
|
||||
{ cfg, colors }:
|
||||
|
|
|
|||
|
|
@ -8,9 +8,7 @@ mkTarget {
|
|||
name = "hyprlock";
|
||||
humanName = "Hyprlock";
|
||||
|
||||
extraOptions = {
|
||||
useWallpaper = config.lib.stylix.mkEnableWallpaper "Hyprlock" true;
|
||||
};
|
||||
extraOptions.useWallpaper = config.lib.stylix.mkEnableWallpaper "Hyprlock" true;
|
||||
|
||||
configElements = [
|
||||
(
|
||||
|
|
|
|||
|
|
@ -8,9 +8,7 @@ mkTarget {
|
|||
name = "lightdm";
|
||||
humanName = "LightDM";
|
||||
|
||||
extraOptions = {
|
||||
useWallpaper = config.lib.stylix.mkEnableWallpaper "LightDM" true;
|
||||
};
|
||||
extraOptions.useWallpaper = config.lib.stylix.mkEnableWallpaper "LightDM" true;
|
||||
|
||||
configElements =
|
||||
{ cfg, image }:
|
||||
|
|
|
|||
|
|
@ -4,12 +4,10 @@ mkTarget {
|
|||
name = "yazi";
|
||||
humanName = "Yazi";
|
||||
|
||||
extraOptions = {
|
||||
boldDirectory = lib.mkOption {
|
||||
description = "Whether to use bold font for directories.";
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
};
|
||||
extraOptions.boldDirectory = lib.mkOption {
|
||||
description = "Whether to use bold font for directories.";
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
};
|
||||
|
||||
configElements =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue