24 lines
339 B
Nix
24 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
|
||
|
];
|
||
|
};
|
||
|
}
|