forked from mirrors/nixpkgs
nixos/pantheon: treat evince and file-roller as optional app
This commit is contained in:
parent
860781d909
commit
2375fac93d
|
@ -216,9 +216,6 @@ in
|
|||
pantheon-agent-polkit
|
||||
])) config.environment.pantheon.excludePackages;
|
||||
|
||||
programs.evince.enable = mkDefault true;
|
||||
programs.file-roller.enable = mkDefault true;
|
||||
|
||||
# Settings from elementary-default-settings
|
||||
environment.etc."gtk-3.0/settings.ini".source = "${pkgs.pantheon.elementary-default-settings}/etc/gtk-3.0/settings.ini";
|
||||
|
||||
|
@ -272,6 +269,9 @@ in
|
|||
})
|
||||
|
||||
(mkIf serviceCfg.apps.enable {
|
||||
programs.evince.enable = mkDefault true;
|
||||
programs.file-roller.enable = mkDefault true;
|
||||
|
||||
environment.systemPackages = utils.removePackagesByName ([
|
||||
pkgs.gnome.gnome-font-viewer
|
||||
] ++ (with pkgs.pantheon; [
|
||||
|
|
Loading…
Reference in a new issue