From b93b4f71f21e4ff931d669f02cbabe04412d8965 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Wed, 18 May 2022 13:19:34 +0800 Subject: [PATCH] nixos/pantheon: also treat gnome-font-viewer as non-core apps --- .../services/x11/desktop-managers/pantheon.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nixos/modules/services/x11/desktop-managers/pantheon.nix b/nixos/modules/services/x11/desktop-managers/pantheon.nix index 7db031b04c40..cdf5a0ce0880 100644 --- a/nixos/modules/services/x11/desktop-managers/pantheon.nix +++ b/nixos/modules/services/x11/desktop-managers/pantheon.nix @@ -212,12 +212,10 @@ in elementary-capnet-assist elementary-notifications elementary-settings-daemon + gnome-settings-daemon pantheon-agent-geoclue2 pantheon-agent-polkit - ]) ++ (utils.removePackagesByName [ - gnome.gnome-font-viewer - pantheon.gnome-settings-daemon - ] config.environment.pantheon.excludePackages); + ]); programs.evince.enable = mkDefault true; programs.file-roller.enable = mkDefault true; @@ -272,7 +270,9 @@ in }) (mkIf serviceCfg.apps.enable { - environment.systemPackages = with pkgs.pantheon; utils.removePackagesByName ([ + environment.systemPackages = utils.removePackagesByName ([ + pkgs.gnome.gnome-font-viewer + ] ++ (with pkgs.pantheon; [ elementary-calculator elementary-calendar elementary-camera @@ -290,7 +290,7 @@ in # Only install appcenter if flatpak is enabled before # https://github.com/NixOS/nixpkgs/issues/15932 is resolved. appcenter - ]) config.environment.pantheon.excludePackages; + ])) config.environment.pantheon.excludePackages; # needed by screenshot fonts.fonts = [