Add tealdeer module
This commit is contained in:
5
TODO.org
5
TODO.org
@@ -29,6 +29,11 @@ ctrl+shift+arrows
|
|||||||
** aliases/scripts for upgrade/maintenance
|
** aliases/scripts for upgrade/maintenance
|
||||||
** docker ctrl-p fix
|
** docker ctrl-p fix
|
||||||
NixOS only, needs to be done at system level because user docker config.json may include auth information and therefore can't be Nix-managed
|
NixOS only, needs to be done at system level because user docker config.json may include auth information and therefore can't be Nix-managed
|
||||||
|
** home manager activation scripts
|
||||||
|
https://rycee.gitlab.io/home-manager/options.html#opt-home.activation
|
||||||
|
*** build caches
|
||||||
|
tldr -u
|
||||||
|
|
||||||
* Linux
|
* Linux
|
||||||
** Advanced key remapping
|
** Advanced key remapping
|
||||||
*** interception-tools
|
*** interception-tools
|
||||||
|
|||||||
@@ -33,6 +33,7 @@
|
|||||||
./modules/git.nix
|
./modules/git.nix
|
||||||
./modules/direnv.nix
|
./modules/direnv.nix
|
||||||
./modules/emacs.nix
|
./modules/emacs.nix
|
||||||
|
./modules/tealdeer.nix
|
||||||
./modules/work.nix
|
./modules/work.nix
|
||||||
./modules/dotfiles.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