Bolt-launcher: Difference between revisions
Appearance
Creating bolt-launcher page and notice regarding RS3 usage |
quick example with extraPkgs, reflecting latest PR changes |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
== Note for RS3 users == | == Note for RS3 users == | ||
The RuneScape 3 client needs OpenSSL 1.1 and GTK 2. Both are end of life and no longer in current Nixpkgs, and OpenSSL 1.1 no longer receives security fixes. Only enable this if you play RS3. | |||
More info | More info [https://github.com/NixOS/nixpkgs/pull/531289 here] and [https://github.com/NixOS/nixpkgs/pull/581786 here]. | ||
=== NixOS 26.05 === | |||
On nixos-26.05, the <code>enableRS3</code> option still works: | |||
{{file|configuration.nix|nix|3= | |||
{ pkgs, ... }: | |||
{ | |||
nixpkgs.config.permittedInsecurePackages = [ "openssl-1.1.1w" ]; | |||
environment.systemPackages = [ | |||
(pkgs.bolt-launcher.override { enableRS3 = true; }) | |||
]; | |||
} | |||
}} | |||
=== nixos-unstable and NixOS 26.11 or later === | |||
<code>enableRS3</code> has been removed. Instead, take only the two end-of-life libraries from nixos-26.05 and add them with <code>extraPkgs</code>. Bolt itself stays up to date with your system. | |||
{{file|flake.nix|nix|3= | {{file|flake.nix|nix|3= | ||
{ | { | ||
inputs.nixpkgs- | inputs.nixpkgs-2605.url = "https://channels.nixos.org/nixos-26.05/nixexprs.tar.zst"; | ||
inputs.nixpkgs.url = " | inputs.nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.zst"; | ||
outputs = | outputs = | ||
{ | { nixpkgs, ... }@inputs: | ||
{ | { | ||
nixosConfigurations.yourSystem = nixpkgs.lib.nixosSystem { | nixosConfigurations.yourSystem = nixpkgs.lib.nixosSystem { | ||
| Line 27: | Line 44: | ||
{ inputs, pkgs, ... }: | { inputs, pkgs, ... }: | ||
let | |||
pkgs2605 = import inputs.nixpkgs-2605 { | |||
inherit (pkgs.stdenv.hostPlatform) system; | |||
config.permittedInsecurePackages = [ "openssl-1.1.1w" ]; | |||
}; | |||
in | |||
{ | { | ||
environment.systemPackages = [ | |||
( | (pkgs.bolt-launcher.override { | ||
extraPkgs = _: [ | |||
pkgs2605.openssl_1_1 | |||
pkgs2605.gtk2-x11 | |||
]; | |||
}) | }) | ||
]; | ]; | ||
} | } | ||
}} | }} | ||
Latest revision as of 14:32, 14 November 2026
Note for RS3 users
The RuneScape 3 client needs OpenSSL 1.1 and GTK 2. Both are end of life and no longer in current Nixpkgs, and OpenSSL 1.1 no longer receives security fixes. Only enable this if you play RS3.
NixOS 26.05
On nixos-26.05, the enableRS3 option still works:
❄︎ configuration.nix
{ pkgs, ... }:
{
nixpkgs.config.permittedInsecurePackages = [ "openssl-1.1.1w" ];
environment.systemPackages = [
(pkgs.bolt-launcher.override { enableRS3 = true; })
];
}
nixos-unstable and NixOS 26.11 or later
enableRS3 has been removed. Instead, take only the two end-of-life libraries from nixos-26.05 and add them with extraPkgs. Bolt itself stays up to date with your system.
❄︎ flake.nix
{
inputs.nixpkgs-2605.url = "https://channels.nixos.org/nixos-26.05/nixexprs.tar.zst";
inputs.nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.zst";
outputs =
{ nixpkgs, ... }@inputs:
{
nixosConfigurations.yourSystem = nixpkgs.lib.nixosSystem {
modules = [
./configuration.nix
./hardware-configuration.nix
];
specialArgs = { inherit inputs; };
};
};
}
❄︎ configuration.nix
{ inputs, pkgs, ... }:
let
pkgs2605 = import inputs.nixpkgs-2605 {
inherit (pkgs.stdenv.hostPlatform) system;
config.permittedInsecurePackages = [ "openssl-1.1.1w" ];
};
in
{
environment.systemPackages = [
(pkgs.bolt-launcher.override {
extraPkgs = _: [
pkgs2605.openssl_1_1
pkgs2605.gtk2-x11
];
})
];
}