tldr: module init

This commit is contained in:
Zynh Ludwig 2024-08-01 23:30:06 -07:00
parent 9e982505a6
commit 3df5994159
2 changed files with 21 additions and 0 deletions

20
home/modules/tldr.nix Normal file
View file

@ -0,0 +1,20 @@
{ 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;
};
};
};
}

View file

@ -24,6 +24,7 @@ in
redshift.enable = true;
xivlauncher.enable = true;
flameshot.enable = true;
tldr.enable = true;
};
snowhawk.ssh = {
enable = true;