Skip to content

Commit

Permalink
[nixos/lightdm] allow for background option to be either path or color
Browse files Browse the repository at this point in the history
  • Loading branch information
shdpl authored and SuperSandro2000 committed Nov 12, 2021
1 parent b7d0716 commit 8e3d255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/x11/display-managers/lightdm.nix
Expand Up @@ -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 = ''
Expand Down

0 comments on commit 8e3d255

Please sign in to comment.