lightdm-mini-greeter: put xgreeters in passthru
This commit is contained in:
parent
6d7687871e
commit
5669b06235
2 changed files with 6 additions and 6 deletions
|
@ -8,11 +8,6 @@ let
|
||||||
ldmcfg = dmcfg.lightdm;
|
ldmcfg = dmcfg.lightdm;
|
||||||
cfg = ldmcfg.greeters.mini;
|
cfg = ldmcfg.greeters.mini;
|
||||||
|
|
||||||
xgreeters = pkgs.linkFarm "lightdm-mini-greeter-xgreeters" [{
|
|
||||||
path = "${pkgs.lightdm-mini-greeter}/share/xgreeters/lightdm-mini-greeter.desktop";
|
|
||||||
name = "lightdm-mini-greeter.desktop";
|
|
||||||
}];
|
|
||||||
|
|
||||||
miniGreeterConf = pkgs.writeText "lightdm-mini-greeter.conf"
|
miniGreeterConf = pkgs.writeText "lightdm-mini-greeter.conf"
|
||||||
''
|
''
|
||||||
[greeter]
|
[greeter]
|
||||||
|
@ -90,7 +85,7 @@ in
|
||||||
services.xserver.displayManager.lightdm.greeters.gtk.enable = false;
|
services.xserver.displayManager.lightdm.greeters.gtk.enable = false;
|
||||||
|
|
||||||
services.xserver.displayManager.lightdm.greeter = mkDefault {
|
services.xserver.displayManager.lightdm.greeter = mkDefault {
|
||||||
package = xgreeters;
|
package = pkgs.lightdm-mini-greeter.xgreeters;
|
||||||
name = "lightdm-mini-greeter";
|
name = "lightdm-mini-greeter";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,11 @@ stdenv.mkDerivation rec {
|
||||||
--replace "Exec=lightdm-mini-greeter" "Exec=$out/bin/lightdm-mini-greeter"
|
--replace "Exec=lightdm-mini-greeter" "Exec=$out/bin/lightdm-mini-greeter"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.xgreeters = linkFarm "lightdm-mini-greeter-xgreeters" [{
|
||||||
|
path = "${lightdm-mini-greeter}/share/xgreeters/lightdm-mini-greeter.desktop";
|
||||||
|
name = "lightdm-mini-greeter.desktop";
|
||||||
|
}];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A minimal, configurable, single-user GTK3 LightDM greeter";
|
description = "A minimal, configurable, single-user GTK3 LightDM greeter";
|
||||||
homepage = https://github.com/prikhi/lightdm-mini-greeter;
|
homepage = https://github.com/prikhi/lightdm-mini-greeter;
|
||||||
|
|
Loading…
Reference in a new issue