Unverified Commit 3c2e1826 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #318897 from symphorien/btrbk_undeprecate_extraPackages

nixos/btrbk: undeprecate extraPackages
parents d4e8e2e0 952b1a3d
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -695,9 +695,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 ];