Updated skills and lock and lichess

This commit is contained in:
2026-06-17 07:36:21 +03:00
parent e0a5891cd8
commit 890f39079b
4 changed files with 48 additions and 13 deletions
+33
View File
@@ -0,0 +1,33 @@
{...}: {
config.flake.overlayPkgs.emacs-lichess = pkgs: let
epkgs = pkgs.emacs.pkgs;
in
epkgs.trivialBuild {
pname = "lichess";
version = "0.8";
src = pkgs.fetchFromGitHub {
owner = "tmythicator";
repo = "lichess.el";
rev = "1dd8a25ede7144c5d6be1f45f4ae3d07903783cd";
sha256 = "157l4crbz37x367m69sxwvnd1pd8cqa6w0lcvyyvs27cm021d2gr";
};
};
config.flake.modules.homeManager.chess = {
lib,
config,
pkgs,
...
}: {
options.azos.chess.enable = lib.mkOption {
default = false;
example = true;
type = lib.types.bool;
};
config = lib.mkIf config.azos.chess.enable {
azos.emacs.pkgs = [pkgs.emacs-lichess];
azos.emacs.enabledSuites = ["lichess"];
};
};
}