summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-11-12 18:43:15 +0100
committerGitHub <noreply@github.com>2021-11-12 18:43:15 +0100
commit6aa376ea9bc6b1ced6d94881adbfb6049a12b26b (patch)
treef25ad398c10fc0fbc9a333630646910e18b55538 /nixos
parent8f39ad3da14ce78daf249c8291a4e43a17bbcf98 (diff)
parent8e3d255347f7c9d28390563d1830da89af7ef867 (diff)
Merge pull request #138336 from shdpl/release-21.05
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/x11/display-managers/lightdm.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/display-managers/lightdm.nix b/nixos/modules/services/x11/display-managers/lightdm.nix
index 1c9a5f978c54..9a7532b47641 100644
--- a/nixos/modules/services/x11/display-managers/lightdm.nix
+++ b/nixos/modules/services/x11/display-managers/lightdm.nix
@@ -146,7 +146,7 @@ in
};
background = mkOption {
- type = types.path;
+ type = types.either types.path (types.strMatching "^#[0-9]\{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 = ''