Commit 952b1a3d authored by Guillaume Girol's avatar Guillaume Girol
Browse files

nixos/btrbk: undeprecate extraPackages

it is required on systems where ssh access is configured for
lz4-compressed btrfs send, but no instances are present.

fixes https://github.com/NixOS/nixpkgs/issues/316676
parent 051f9206
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -680,9 +680,7 @@ Use `services.pipewire.extraConfig` or `services.pipewire.configPackages` for Pi
  The previous native backends remain available but are now minimally maintained. Refer to [upstream documentation](https://doc.qt.io/qt-6/qtmultimedia-index.html#ffmpeg-as-the-default-backend) for further details about each platform.

- `services.btrbk` now automatically selects and provides required compression
  program depending on the configured `stream_compress` option. Since this
  replaces the need for the `extraPackages` option, this option will be
  deprecated in future releases.
  program depending on the configured `stream_compress` option.

- `services.github-runner` module has been removed. To configure a single GitHub Actions Runner refer to `services.github-runners.*`. Note that this will trigger a new runner registration.

+0 −4
Original line number Diff line number Diff line
@@ -204,10 +204,6 @@ in
  };
  config = mkIf (sshEnabled || serviceEnabled) {

    warnings = optional (cfg.extraPackages != []) ''
      extraPackages option will be deprecated in future releases. Programs required for compression are now automatically selected depending on services.btrbk.instances.<name>.settings.stream_compress option.
    '';

    environment.systemPackages = [ pkgs.btrbk ] ++ cfg.extraPackages;

    security.sudo.extraRules = mkIf (sudo_doas == "sudo") [ sudoRule ];