mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-16 06:19:11 +00:00
nixos/programs/gnome-session: update module
This commit is contained in:
parent
ba9e3c3066
commit
58c393dc1a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user