nixos/programs/gnome-session: update module

This commit is contained in:
Gabriel Arazas 2025-03-26 19:03:19 +08:00
parent ba9e3c3066
commit 58c393dc1a
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -23,7 +23,7 @@ let
generate = name: value: generate = name: value:
pkgs.callPackage pkgs.callPackage
({ writeText }: writeText name (lib.generators.toDconfINI value)); ({ writeText, lib }: writeText name (lib.generators.toDconfINI value)) { };
}; };
# The bulk of the work. Pretty much the main purpose of this module. # The bulk of the work. Pretty much the main purpose of this module.
@ -111,8 +111,8 @@ in {
options.programs.gnome-session = { options.programs.gnome-session = {
package = lib.mkOption { package = lib.mkOption {
type = lib.types.package; type = lib.types.package;
default = pkgs.gnome.gnome-session; default = pkgs.gnome-session;
defaultText = "pkgs.gnome.gnome-session"; defaultText = "pkgs.gnome-session";
description = '' description = ''
The package containing gnome-session binary and systemd units. This The package containing gnome-session binary and systemd units. This
module will use the `gnome-session` executable for the generated module will use the `gnome-session` executable for the generated