From cd5ae689871171caeef6a92f5aca1f3439ddc418 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sun, 26 Nov 2023 19:47:44 +0300 Subject: [PATCH] Add template example --- README.md | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 9d3b229..0f199fa 100644 --- a/README.md +++ b/README.md @@ -374,13 +374,21 @@ Here is a minimal usage example: modules = [ homeManager.nixosModules.default { - home-manager.users.myuser.programs.kitty.settings = with theme.withHashtag; { - color0 = base00; # Could also be `background`. - color1 = base01; - # ... - color10 = baseA; - color11 = baseB; - # ... + home-manager.users.myuser = { + programs.kitty.settings = with theme.withHashtag; { + color0 = base00; # Could also be `background`. + color1 = base01; + # ... + color10 = baseA; + color11 = baseB; + # ... + }; + + # Using templates??? Wow, that's so cool! + programs.bat = { + config.theme = "tango"; + themes.tango = theme.tmTheme; + }; }; } ];