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;
|
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";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue