forked from mirrors/nixpkgs
nixos/lightdm/pantheon: provide xgreeters in package
This commit is contained in:
parent
2bc1a8f9e3
commit
a99ef0345d
|
@ -8,11 +8,6 @@ let
|
|||
ldmcfg = dmcfg.lightdm;
|
||||
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
|
||||
{
|
||||
options = {
|
||||
|
@ -36,7 +31,7 @@ in
|
|||
services.xserver.displayManager.lightdm.greeters.gtk.enable = false;
|
||||
|
||||
services.xserver.displayManager.lightdm.greeter = mkDefault {
|
||||
package = xgreeters;
|
||||
package = pkgs.pantheon.elementary-greeter.xgreeters;
|
||||
name = "io.elementary.greeter";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, linkFarm
|
||||
, elementary-greeter
|
||||
, pantheon
|
||||
, pkgconfig
|
||||
, meson
|
||||
|
@ -41,6 +43,11 @@ stdenv.mkDerivation rec {
|
|||
inherit repoName;
|
||||
attrPath = pname;
|
||||
};
|
||||
|
||||
xgreeters = linkFarm "pantheon-greeter-xgreeters" [{
|
||||
path = "${elementary-greeter}/share/xgreeters/io.elementary.greeter.desktop";
|
||||
name = "io.elementary.greeter.desktop";
|
||||
}];
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
Loading…
Reference in a new issue