Difference between revisions of "Chess"
From NixOS Wiki
(Add stickfish as a gnome-chess dependency) |
(Add terminal-based section) |
||
Line 1: | Line 1: | ||
== Playing Chess on NixOS == | == Playing Chess on NixOS == | ||
+ | |||
+ | === GUI based === | ||
[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]). | ||
Line 16: | Line 18: | ||
} | } | ||
</syntaxHighlight> | </syntaxHighlight> | ||
+ | |||
+ | === Terminal based === | ||
+ | |||
+ | [https://thomas-mauran.github.io/chess-tui/docs/Installation/NixOS Chess TUI] is installable via <code>chess-tui</code>. Playing against a bot requires a chess engine such as Stockfish or GNU Chess. The engine [https://thomas-mauran.github.io/chess-tui/docs/Configuration/configuration-intro can be configured] or specifed with the <code>-e</code> option. |
Revision as of 22:51, 7 August 2025
Playing Chess on NixOS
GUI based
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
stockfish
];
}
Terminal based
Chess TUI is installable via chess-tui
. Playing against a bot requires a chess engine such as Stockfish or GNU Chess. The engine can be configured or specifed with the -e
option.