nichts/nyx/homes/notashelf/programs/graphical/gaming/chess.nix
2024-04-09 23:11:33 +02:00

23 lines
339 B
Nix

{
osConfig,
pkgs,
lib,
...
}: let
inherit (lib.modules) mkIf;
inherit (osConfig) modules;
env = modules.usrEnv;
prg = env.programs;
in {
config = mkIf prg.gaming.chess.enable {
home.packages = with pkgs; [
knights
fairymax
gnome.gnome-chess
stockfish
fishnet
uchess
];
};
}