nixos/lightdm: fix hex color code type validation
Fixed not allowing characters [A-Fa-f] for hex color in LightDM background option.
This commit is contained in:
@@ -156,7 +156,7 @@ in
|
||||
};
|
||||
|
||||
background = mkOption {
|
||||
type = types.either types.path (types.strMatching "^#[0-9]{6}$");
|
||||
type = types.either types.path (types.strMatching "^#[0-9A-Fa-f]{6}$");
|
||||
# Manual cannot depend on packages, we are actually setting the default in config below.
|
||||
defaultText = literalExpression "pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom.gnomeFilePath";
|
||||
description = ''
|
||||
|
||||
Reference in New Issue
Block a user