Leetcode and chess overhaul
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{...}: {
|
||||
config.flake.modules.homeManager.leetcode = {
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
options.azos.leetcode.enable = lib.mkOption {
|
||||
default = false;
|
||||
example = true;
|
||||
type = lib.types.bool;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.azos.leetcode.enable {
|
||||
azos.emacs.pkgs = [pkgs.azos-emacs-leetcode];
|
||||
azos.emacs.enabledSuites = ["azos-emacs-leetcode"];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user