Jump to content

Bolt-launcher: Difference between revisions

From Official NixOS Wiki
Iedame (talk | contribs)
Creating bolt-launcher page and notice regarding RS3 usage
 
Iedame (talk | contribs)
added url to relevant PR
 
Line 2: Line 2:
Because RuneScape still depends on EOL OpenSSL 1.1, running it on the latest NixOS currently requires a workaround.  
Because RuneScape still depends on EOL OpenSSL 1.1, running it on the latest NixOS currently requires a workaround.  


More info at nixpkgs/pull/531289
More info [https://github.com/NixOS/nixpkgs/pull/531289 here]


Snippets with flakes:
Snippets with flakes:

Latest revision as of 16:29, 23 July 2026

Note for RS3 users

Because RuneScape still depends on EOL OpenSSL 1.1, running it on the latest NixOS currently requires a workaround.

More info here

Snippets with flakes:

❄︎ flake.nix
{
  inputs.nixpkgs-bolt-launcher.url = "github:NixOS/nixpkgs/nixos-26.05";
  inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; # or the latest stable, currently nixos-26.05

  outputs =
    { nixpkgs-bolt-launcher, nixpkgs, ... }@inputs:
    {
      nixosConfigurations.yourSystem = nixpkgs.lib.nixosSystem {
        modules = [
          ./configuration.nix
          ./hardware-configuration.nix
        ];
        specialArgs = { inherit inputs; };
      };
    };
}
❄︎ configuration.nix
{ inputs, pkgs, ... }:

{
  nixpkgs.overlays = [
    (final: prev: {
      bolt-launcher =
        let
          pkgs-bolt-launcher = import inputs.nixpkgs-bolt-launcher {
            inherit (pkgs.stdenv.hostPlatform) system;
            config.permittedInsecurePackages = [
              "openssl-1.1.1w"
            ];
          };
        in
        pkgs-bolt-launcher.bolt-launcher;
    })
  ];

  environment.systemPackages = with pkgs; [
    (bolt-launcher.override { enableRS3 = true; })
  ];
}