Difference between revisions of "Chess"

From NixOS Wiki
Jump to: navigation, search
(Lucas Chess)
 
(Add GNOME Chess)
Line 2: Line 2:
  
 
[https://lucaschess.pythonanywhere.com/ Lucas Chess] is not packaged for NixOS yet (see [https://github.com/NixOS/nixpkgs/issues/303420 nixpkgs#303420]).
 
[https://lucaschess.pythonanywhere.com/ Lucas Chess] is not packaged for NixOS yet (see [https://github.com/NixOS/nixpkgs/issues/303420 nixpkgs#303420]).
 +
 +
For [https://gitlab.gnome.org/GNOME/gnome-chess GNOME Chess], if you want to play against the computer, you need to install a chess engine in addition. According to the application developer, this can be GNU Chess or Stockfish, but the engines will always win, ruthlessly, which may be disturbing (see [https://gitlab.gnome.org/GNOME/gnome-chess/-/issues/94 gnome-chess#94]).
 +
 +
<syntaxHighlight lang="nix">
 +
{ pkgs, ... }:
 +
 +
{
 +
  environment.systemPackages = with pkgs; [
 +
    gnome-chess
 +
    gnuchess
 +
  ];
 +
}
 +
</syntaxHighlight>

Revision as of 15:38, 7 August 2025

Playing Chess on NixOS

Lucas Chess is not packaged for NixOS yet (see nixpkgs#303420).

For GNOME Chess, if you want to play against the computer, you need to install a chess engine in addition. According to the application developer, this can be GNU Chess or Stockfish, but the engines will always win, ruthlessly, which may be disturbing (see gnome-chess#94).

{ pkgs, ... }:

{
  environment.systemPackages = with pkgs; [
    gnome-chess
    gnuchess
  ];
}