programs/gnome-session: simplify session specialArgs

Make it non-problematic for the future.
This commit is contained in:
Gabriel Arazas 2024-01-02 16:21:47 +08:00
parent 0b46826cb3
commit 922680d131
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -196,7 +196,10 @@ let
components = lib.mkOption {
type = with lib.types; attrsOf (submoduleWith {
specialArgs.session = config;
specialArgs.session = {
inherit (config) fullName prefix description;
inherit name;
};
modules = [ componentsType ];
});
description = ''