1

Modules/Color: Make auto-set options readOnly

This commit is contained in:
2025-07-20 21:47:27 +02:00
parent f52c071f21
commit 16e60f65cf

View File

@ -72,6 +72,7 @@ in rec {
in in
lib.mkOption { lib.mkOption {
type = lib.types.listOf lib.types.str; type = lib.types.listOf lib.types.str;
readOnly = true;
description = "The available wallpapers"; description = "The available wallpapers";
default = wallpapers; default = wallpapers;
}; };
@ -117,21 +118,25 @@ in rec {
hex = lib.mkOption { hex = lib.mkOption {
type = lib.types.attrs; type = lib.types.attrs;
readOnly = true;
description = "Colors in \"RRGGBB\" hexadecimal format"; description = "Colors in \"RRGGBB\" hexadecimal format";
}; };
hexS = lib.mkOption { hexS = lib.mkOption {
type = lib.types.attrs; type = lib.types.attrs;
readOnly = true;
description = "Colors in \"#RRGGBB\" hexadecimal format"; description = "Colors in \"#RRGGBB\" hexadecimal format";
}; };
rgb = lib.mkOption { rgb = lib.mkOption {
type = lib.types.attrs; type = lib.types.attrs;
readOnly = true;
description = "Colors in [RR GG BB] decimal format"; description = "Colors in [RR GG BB] decimal format";
}; };
rgbS = lib.mkOption { rgbS = lib.mkOption {
type = lib.types.attrs; type = lib.types.attrs;
readOnly = true;
description = "Colors in \"RR,GG,BB\" decimal format"; description = "Colors in \"RR,GG,BB\" decimal format";
}; };
} }