Unverified Commit d9c509a6 authored by Jasi's avatar Jasi
Browse files

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).
parent bbf7bc58
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -330,6 +330,8 @@ and [release notes for v18](https://goteleport.com/docs/changelog/#1800-070325).

- `firezone` has changed how the `Everyone` group behaves. Service Accounts are no longer considered part of `Everyone`.

- The `file-roller` module has been removed due to not being required for function, file roller itself has also been removed from the `services.desktopManager.gnome` module as it's not part of GNOME core applications.

- The `boot.readOnlyNixStore` has been removed. Control over bind mount options on `/nix/store` is now offered by the `boot.nixStoreMountOpts` option.

- Direct use of `pkgs.formats.systemd` has been deprecated, and should now be instantiated with `pkgs.formats.systemd { }` similarly to other items in `pkgs.formats`.
+0 −1
Original line number Diff line number Diff line
@@ -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
+0 −40
Original line number Diff line number Diff line
# 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 ];

  };

}
+4 −0
Original line number Diff line number Diff line
@@ -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.
+0 −1
Original line number Diff line number Diff line
@@ -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;
Loading