tldr: module init

main
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; redshift.enable = true;
xivlauncher.enable = true; xivlauncher.enable = true;
flameshot.enable = true; flameshot.enable = true;
tldr.enable = true;
}; };
snowhawk.ssh = { snowhawk.ssh = {
enable = true; enable = true;