3
0
Fork 0
forked from mirrors/nixpkgs

nixos/lightdm/pantheon: provide xgreeters in package

This commit is contained in:
worldofpeace 2019-09-13 21:27:46 -04:00
parent 2bc1a8f9e3
commit a99ef0345d
2 changed files with 8 additions and 6 deletions

View file

@ -8,11 +8,6 @@ let
ldmcfg = dmcfg.lightdm; ldmcfg = dmcfg.lightdm;
cfg = ldmcfg.greeters.pantheon; cfg = ldmcfg.greeters.pantheon;
xgreeters = pkgs.linkFarm "pantheon-greeter-xgreeters" [{
path = "${pkgs.pantheon.elementary-greeter}/share/xgreeters/io.elementary.greeter.desktop";
name = "io.elementary.greeter.desktop";
}];
in in
{ {
options = { options = {
@ -36,7 +31,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.pantheon.elementary-greeter.xgreeters;
name = "io.elementary.greeter"; name = "io.elementary.greeter";
}; };

View file

@ -1,5 +1,7 @@
{ stdenv { stdenv
, fetchFromGitHub , fetchFromGitHub
, linkFarm
, elementary-greeter
, pantheon , pantheon
, pkgconfig , pkgconfig
, meson , meson
@ -41,6 +43,11 @@ stdenv.mkDerivation rec {
inherit repoName; inherit repoName;
attrPath = pname; attrPath = pname;
}; };
xgreeters = linkFarm "pantheon-greeter-xgreeters" [{
path = "${elementary-greeter}/share/xgreeters/io.elementary.greeter.desktop";
name = "io.elementary.greeter.desktop";
}];
}; };
nativeBuildInputs = [ nativeBuildInputs = [