nixos/gnome: Do not install Photos

829b9aacc5
This commit is contained in:
Jan Tojnar 2023-11-19 22:54:22 +01:00
parent d1993b45b1
commit b32a490b14
2 changed files with 3 additions and 4 deletions

View file

@ -145,7 +145,7 @@ services.xserver.desktopManager.gnome = {
# Favorite apps in gnome-shell # Favorite apps in gnome-shell
[org.gnome.shell] [org.gnome.shell]
favorite-apps=['org.gnome.Photos.desktop', 'org.gnome.Nautilus.desktop'] favorite-apps=['org.gnome.Console.desktop', 'org.gnome.Nautilus.desktop']
''; '';
extraGSettingsOverridePackages = [ extraGSettingsOverridePackages = [

View file

@ -19,7 +19,7 @@ let
defaultFavoriteAppsOverride = '' defaultFavoriteAppsOverride = ''
[org.gnome.shell] [org.gnome.shell]
favorite-apps=[ 'org.gnome.Epiphany.desktop', 'org.gnome.Geary.desktop', 'org.gnome.Calendar.desktop', 'org.gnome.Music.desktop', 'org.gnome.Photos.desktop', 'org.gnome.Nautilus.desktop' ] favorite-apps=[ 'org.gnome.Epiphany.desktop', 'org.gnome.Geary.desktop', 'org.gnome.Calendar.desktop', 'org.gnome.Music.desktop', 'org.gnome.Nautilus.desktop' ]
''; '';
nixos-background-light = pkgs.nixos-artwork.wallpapers.simple-blue; nixos-background-light = pkgs.nixos-artwork.wallpapers.simple-blue;
@ -463,7 +463,7 @@ in
++ utils.removePackagesByName optionalPackages config.environment.gnome.excludePackages; ++ utils.removePackagesByName optionalPackages config.environment.gnome.excludePackages;
}) })
# Adapt from https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/gnome-3-38/elements/core/meta-gnome-core-utilities.bst # Adapt from https://gitlab.gnome.org/GNOME/gnome-build-meta/-/blob/gnome-45/elements/core/meta-gnome-core-utilities.bst
(mkIf serviceCfg.core-utilities.enable { (mkIf serviceCfg.core-utilities.enable {
environment.systemPackages = environment.systemPackages =
with pkgs.gnome; with pkgs.gnome;
@ -482,7 +482,6 @@ in
gnome-logs gnome-logs
gnome-maps gnome-maps
gnome-music gnome-music
pkgs.gnome-photos
gnome-system-monitor gnome-system-monitor
gnome-weather gnome-weather
pkgs.loupe pkgs.loupe