mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-12 06:19:00 +00:00
nixos/programs/gnome-session: remove enable
This reverts commit e83f6d5c96a7082232eb55e72a9b8d082f73a3ae.
This commit is contained in:
parent
a4c4636081
commit
1e909ff150
@ -143,8 +143,6 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.programs.gnome-session = {
|
options.programs.gnome-session = {
|
||||||
enable = lib.mkEnableOption "creating desktop sessions with gnome-session";
|
|
||||||
|
|
||||||
package = lib.mkOption {
|
package = lib.mkOption {
|
||||||
type = lib.types.package;
|
type = lib.types.package;
|
||||||
default = pkgs.gnome.gnome-session;
|
default = pkgs.gnome.gnome-session;
|
||||||
@ -296,7 +294,7 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf (cfg.enable && cfg.sessions != { }) {
|
config = lib.mkIf (cfg.sessions != { }) {
|
||||||
# Install all of the desktop session files.
|
# Install all of the desktop session files.
|
||||||
services.xserver.displayManager.sessionPackages = sessionPackages;
|
services.xserver.displayManager.sessionPackages = sessionPackages;
|
||||||
environment.systemPackages = [ cfg.package ] ++ sessionPackages;
|
environment.systemPackages = [ cfg.package ] ++ sessionPackages;
|
||||||
|
Loading…
Reference in New Issue
Block a user