nixos/gnome: Rename core-utilities option to core-apps

To match the upstream BuildStream definition:
https://gitlab.gnome.org/GNOME/gnome-build-meta/-/commit/3968975eacddebf034a79b051ccc3616dfb777c8

Changed files
+13 -5
nixos
doc
manual
release-notes
modules
services
x11
desktop-managers
+1
nixos/doc/manual/release-notes/rl-2505.section.md
···
- `decibels` music player is now installed by default. You can disable it using [](#opt-environment.gnome.excludePackages).
- `gnome-shell-extensions` extension collection (which included GNOME Classic extensions, Apps Menu, and User Themes, among others) are no longer installed by default. You can install them again with [](#opt-services.xserver.desktopManager.gnome.sessionPath).
- Option [](#opt-services.gnome.core-developer-tools.enable) now also installs `sysprof` and `d-spy`.
Refer to the [GNOME release notes](https://release.gnome.org/48/) for more details.
···
- `decibels` music player is now installed by default. You can disable it using [](#opt-environment.gnome.excludePackages).
- `gnome-shell-extensions` extension collection (which included GNOME Classic extensions, Apps Menu, and User Themes, among others) are no longer installed by default. You can install them again with [](#opt-services.xserver.desktopManager.gnome.sessionPath).
- Option [](#opt-services.gnome.core-developer-tools.enable) now also installs `sysprof` and `d-spy`.
+
- Option `services.gnome.core-utilities.enable` has been renamed to [](#opt-services.gnome.core-apps.enable).
Refer to the [GNOME release notes](https://release.gnome.org/48/) for more details.
+2 -2
nixos/modules/services/x11/desktop-managers/gnome.md
···
While it is not strictly necessary to use GDM as the display manager with GNOME, it is recommended, as some features such as screen lock [might not work](#sec-gnome-faq-can-i-use-lightdm-with-gnome) without it.
:::
-
The default applications used in NixOS are very minimal, inspired by the defaults used in [gnome-build-meta](https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/40.0/elements/core/meta-gnome-core-utilities.bst).
### GNOME without the apps {#sec-gnome-without-the-apps}
···
```nix
{
-
services.gnome.core-utilities.enable = false;
}
```
···
While it is not strictly necessary to use GDM as the display manager with GNOME, it is recommended, as some features such as screen lock [might not work](#sec-gnome-faq-can-i-use-lightdm-with-gnome) without it.
:::
+
The default applications used in NixOS are very minimal, inspired by the defaults used in [gnome-build-meta](https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/48.0/elements/core/meta-gnome-core-apps.bst).
### GNOME without the apps {#sec-gnome-without-the-apps}
···
```nix
{
+
services.gnome.core-apps.enable = false;
}
```
+10 -3
nixos/modules/services/x11/desktop-managers/gnome.nix
···
maintainers = lib.teams.gnome.members;
};
options = {
services.gnome = {
core-os-services.enable = mkEnableOption "essential services for GNOME3";
core-shell.enable = mkEnableOption "GNOME Shell services";
-
core-utilities.enable = mkEnableOption "GNOME core utilities";
core-developer-tools.enable = mkEnableOption "GNOME core developer tools";
games.enable = mkEnableOption "GNOME games";
};
···
services.gnome.core-os-services.enable = true;
services.gnome.core-shell.enable = true;
-
services.gnome.core-utilities.enable = mkDefault true;
services.displayManager.sessionPackages = [ pkgs.gnome-session.sessions ];
···
})
# Adapt from https://gitlab.gnome.org/GNOME/gnome-build-meta/-/blob/gnome-48/elements/core/meta-gnome-core-apps.bst
-
(lib.mkIf serviceCfg.core-utilities.enable {
environment.systemPackages = utils.removePackagesByName (
[
pkgs.baobab
···
maintainers = lib.teams.gnome.members;
};
+
imports = [
+
(lib.mkRenamedOptionModule
+
[ "services" "gnome" "core-utilities" "enable" ]
+
[ "services" "gnome" "core-apps" "enable" ]
+
)
+
];
+
options = {
services.gnome = {
core-os-services.enable = mkEnableOption "essential services for GNOME3";
core-shell.enable = mkEnableOption "GNOME Shell services";
+
core-apps.enable = mkEnableOption "GNOME core apps";
core-developer-tools.enable = mkEnableOption "GNOME core developer tools";
games.enable = mkEnableOption "GNOME games";
};
···
services.gnome.core-os-services.enable = true;
services.gnome.core-shell.enable = true;
+
services.gnome.core-apps.enable = mkDefault true;
services.displayManager.sessionPackages = [ pkgs.gnome-session.sessions ];
···
})
# Adapt from https://gitlab.gnome.org/GNOME/gnome-build-meta/-/blob/gnome-48/elements/core/meta-gnome-core-apps.bst
+
(lib.mkIf serviceCfg.core-apps.enable {
environment.systemPackages = utils.removePackagesByName (
[
pkgs.baobab