To date, attempts to add parameters to configuration.nix to override the default lightdm greeter appearance have resulted in error messages about non-existent definitions or failing to rebuild with the session dropping to the login screen.
It has been possible to directly modify the /nix/store lightdm-gtk-greeter.conf settings at the end of the symlink chain to obtain the general appearance desired, but these parameters are lost with a system update and I want to configure NixOS to override the default, even after an update.
Here is an example of a working .conf file contents without the background, theme and icon specifics:
These parameters function when the /nix/store .conf file is directly modified, but need to know how, specifically, to modify configuration.nix to override the default and maintain the custom appearance after updates.
Additionally, a custom icon set and custom theme are being used, and neither is a part of the Nixos mate desktop installation. They are located at ‘/home//$USER.icons’ and ‘/home/$USER/.themes’, respectively. I would like to know how to install them into Nixos to that they are retained after updates and can be used in configuration for lightdm-gtk-greeter.conf. Presently it appears that only installed themes can be used to customize the lightdm greeter.
Takes this and just replace config with extraConfig I think that should do the trick. I’m on my phone so I might be overlooking something scrolling back and forth.
nixos-option services.xserver.displayManager.lightdm
This attribute set contains:
autoLogin
background
enable
extraConfig
extraSeatDefaults
greeter
greeters
Other than "background" it appears that everything else should go in "extraConfig"
Explanation of Key Options:
autoLogin: This option can be used to enable automatic login for a user.
background: This is a top-level option, and it should be configured directly under services.xserver.displayManager.lightdm.
enable: This is to enable or disable the LightDM display manager.
extraConfig: This is for any custom LightDM configuration options that are not exposed by NixOS’s structured configuration (like theme-name, indicators, etc.).
greeter: This section is for configuring the greeter (the login screen UI), and it will contain options like theme (if structured in your version), language, or layout.
greeters: This seems to be related to multiple greeter support (e.g., lightdm-webkit or other greeters), and generally, this would be used to define more than one greeter option.