nixos/file-roller: drop

Drops the `programs.file-roller` option as it is not needed for the
program to function and removes all instances of it being used within
nixpkgs.

In addition, file-roller is also removed from being included by
default in GNOME as it's not part of the GNOME core applications and
file archival functions are handled by nautilus (GNOME Files).
This commit is contained in:
Jasi
2025-11-14 14:43:54 -05:00
parent bbf7bc5812
commit d9c509a60d
7 changed files with 8 additions and 44 deletions

View File

@@ -209,7 +209,6 @@
./programs/extra-container.nix
./programs/fcast-receiver.nix
./programs/feedbackd.nix
./programs/file-roller.nix
./programs/firefox.nix
./programs/firejail.nix
./programs/fish.nix

View File

@@ -1,40 +0,0 @@
# File Roller.
{
config,
pkgs,
lib,
...
}:
let
cfg = config.programs.file-roller;
in
{
###### interface
options = {
programs.file-roller = {
enable = lib.mkEnableOption "File Roller, an archive manager for GNOME";
package = lib.mkPackageOption pkgs "file-roller" { };
};
};
###### implementation
config = lib.mkIf cfg.enable {
environment.systemPackages = [ cfg.package ];
services.dbus.packages = [ cfg.package ];
};
}

View File

@@ -75,6 +75,10 @@ in
"programs"
"goldwarden"
] "'goldwarden' has been removed from nixpkgs.")
(mkRemovedOptionModule [
"programs"
"file-roller"
] "Not required for the package to function anymore, use `pkgs.file-roller` instead.")
(mkRemovedOptionModule [ "programs" "pantheon-tweaks" ] ''
pantheon-tweaks is no longer a switchboard plugin but an independent app,
adding the package to environment.systemPackages is sufficient.

View File

@@ -477,7 +477,6 @@ in
# Since some of these have a corresponding package, we only
# enable that program module if the package hasn't been excluded
# through `environment.gnome.excludePackages`
programs.file-roller.enable = notExcluded pkgs.file-roller;
programs.geary.enable = notExcluded pkgs.geary;
programs.gnome-disks.enable = notExcluded pkgs.gnome-disk-utility;
programs.seahorse.enable = notExcluded pkgs.seahorse;

View File

@@ -306,11 +306,11 @@ in
(mkIf serviceCfg.apps.enable {
programs.evince.enable = mkDefault (notExcluded pkgs.evince);
programs.file-roller.enable = mkDefault (notExcluded pkgs.file-roller);
environment.systemPackages = utils.removePackagesByName (
[
pkgs.gnome-font-viewer
pkgs.file-roller
]
++ (
with pkgs.pantheon;

View File

@@ -250,7 +250,6 @@ in
(mkIf serviceCfg.apps.enable {
programs.gnome-disks.enable = mkDefault (notExcluded pkgs.gnome-disk-utility);
programs.gnome-terminal.enable = mkDefault (notExcluded pkgs.gnome-terminal);
programs.file-roller.enable = mkDefault (notExcluded pkgs.file-roller);
environment.systemPackages =
with pkgs;
@@ -270,6 +269,7 @@ in
gnome-calculator
gnome-calendar
gnome-screenshot
file-roller
] config.environment.cinnamon.excludePackages;
})
];