New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LightDM background no longer can be set to a simple color, conflicting with the documentation #90558
Comments
Thanks for reporting. Looks like the option actually affects several packages, each having a slightly different semantics:
Not sure if we should update the description to respect the lowest common denominator or support both path and colour (either without any check as before or add an assertion). |
Thanks for the information. With this information I was able to get my system building again easily enough by instead using
Considering other NixOS options, it would seem typical to me to have two options, say (Edit, 2020-08-02: A more drastic solution in which some users might be interested is to switch to GDM, primarily for other benefits.) |
I would prefer having two separate configurations for setting the background image and the background color... |
I marked this as stale due to inactivity. → More info |
Fixed in #138336. |
Describe the bug
Commit 3d1706c changed the type of the NixOS configuration option
services.xserver.displayManager.lightdm.background
fromstr
topath
, requiring that it be set to the path of an image that is to be used as the desktop background. Formerly it also was allowed to set the background to a solid color, e.g., I have it set to"#000000"
, and the option documentation still claims that this is allowed:nixpkgs/nixos/modules/services/x11/display-managers/lightdm.nix
Lines 138 to 140 in 0aa73fd
Given that the option documentation still claims that setting the background to a color is allowed, I suppose commit 3d1706c was in error.
Notify maintainers
@jtojnar @worldofpeace
Metadata
"x86_64-linux"
Linux 5.4.43-hardened, NixOS, 20.09pre228622.029a5de0839 (Nightingale)
yes
yes
nix-env (Nix) 2.3.6
"nixos-20.09pre229574.0a146054bdf"
/nix/var/nix/profiles/per-user/root/channels/nixos
Maintainer information:
The text was updated successfully, but these errors were encountered: