nixos/home/modules/tldr.nix

21 lines
295 B
Nix
Raw Permalink Normal View History

2024-08-02 06:30:06 +00:00
{ lib, config, ... }:
let
cfg = config.snowhawk.tldr;
in
{
options.snowhawk.tldr = {
enable = lib.mkEnableOption "tldr";
};
config = lib.mkIf cfg.enable {
programs.tealdeer = {
enable = true;
settings = {
updates.auto_update = true;
};
};
};
}