Add tealdeer module
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
./modules/git.nix
|
||||
./modules/direnv.nix
|
||||
./modules/emacs.nix
|
||||
./modules/tealdeer.nix
|
||||
./modules/work.nix
|
||||
./modules/dotfiles.nix
|
||||
];
|
||||
|
||||
13
nix/modules/tealdeer.nix
Normal file
13
nix/modules/tealdeer.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
tealdeer
|
||||
];
|
||||
|
||||
home.activation = {
|
||||
updateTLDRCache = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
||||
$DRY_RUN_CMD ${pkgs.tealdeer}/bin/tldr -u
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user