greetd: purge greeter aliases

Follow-up to #427540
This commit is contained in:
Acid Bong
2026-04-22 19:44:46 +03:00
parent 1337b02379
commit 97bfb5a062
+1 -27
View File
@@ -1,18 +1,11 @@
{
rustPlatform,
lib,
config,
fetchFromSourcehut,
pam,
scdoc,
installShellFiles,
nix-update-script,
# legacy passthrus
gtkgreet,
qtgreet,
regreet,
tuigreet,
wlgreet,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -45,26 +38,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
installManPage man/*
'';
# Added 2025-07-23. To be deleted on 26.05
passthru =
let
warnPassthru = name: lib.warnOnInstantiate "`greetd.${name}` was renamed to `${name}`";
in
lib.mapAttrs warnPassthru (
lib.optionalAttrs config.allowAliases {
inherit
gtkgreet
qtgreet
regreet
tuigreet
wlgreet
;
greetd = finalAttrs.finalPackage;
}
)
// {
updateScript = nix-update-script { };
};
passthru.updateScript = nix-update-script { };
meta = {
description = "Minimal and flexible login manager daemon";