Unverified Commit 0c8622e4 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

nixos/lightdm: fix option type validation (#457271)

parents abe0f4b0 bbfceed8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 = ''