programs/gnome-session: refactor parts of config

This commit is contained in:
Gabriel Arazas 2024-01-10 16:27:41 +08:00
parent e16afaca97
commit 7c91a7dcdc
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -207,6 +207,7 @@ rec {
The identifier of the component used in generating filenames for its
`.desktop` files and as part of systemd unit names.
'';
default = "${session.name}.${name}";
defaultText = "\${session-name}.\${name}";
readOnly = true;
};
@ -237,8 +238,6 @@ rec {
script = "${config.scriptPackage}/bin/${scriptName}";
in
{
id = "${session.name}.${name}";
# Make with the default configurations for the built-in-managed
# components.
desktopConfig = {