From ca23e4210555f1bcb1a6b628bbe1d5e40f1b9d8d Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sun, 29 May 2022 22:17:32 +0200 Subject: [PATCH] nixos/gnome: Move sessionPath to core-shell group This will allow people to disable these packages. --- nixos/modules/services/x11/desktop-managers/gnome.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/x11/desktop-managers/gnome.nix b/nixos/modules/services/x11/desktop-managers/gnome.nix index 44ba47dff13b..766e1d5ab202 100644 --- a/nixos/modules/services/x11/desktop-managers/gnome.nix +++ b/nixos/modules/services/x11/desktop-managers/gnome.nix @@ -189,7 +189,6 @@ in Note that this should be a last resort; patching the package is preferred (see GPaste). ''; - apply = list: list ++ [ pkgs.gnome.gnome-shell pkgs.gnome.gnome-shell-extensions ]; }; favoriteAppsOverride = mkOption { @@ -404,6 +403,11 @@ in }) (mkIf serviceCfg.core-shell.enable { + services.xserver.desktopManager.gnome.sessionPath = [ + pkgs.gnome.gnome-shell + pkgs.gnome.gnome-shell-extensions + ]; + services.colord.enable = mkDefault true; services.gnome.chrome-gnome-shell.enable = mkDefault true; services.gnome.glib-networking.enable = true;