1
Fork 0
mirror of https://github.com/RGBCube/ThemeNix synced 2025-07-27 08:27:45 +00:00

Add template example

This commit is contained in:
RGBCube 2023-11-26 19:47:44 +03:00
parent ff4e330668
commit cd5ae68987
No known key found for this signature in database

View file

@ -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;
};
};
}
];