1
Fork 0
mirror of https://github.com/RGBCube/ThemeNix synced 2025-07-27 16:37:46 +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 = [ modules = [
homeManager.nixosModules.default homeManager.nixosModules.default
{ {
home-manager.users.myuser.programs.kitty.settings = with theme.withHashtag; { home-manager.users.myuser = {
color0 = base00; # Could also be `background`. programs.kitty.settings = with theme.withHashtag; {
color1 = base01; color0 = base00; # Could also be `background`.
# ... color1 = base01;
color10 = baseA; # ...
color11 = baseB; color10 = baseA;
# ... color11 = baseB;
# ...
};
# Using templates??? Wow, that's so cool!
programs.bat = {
config.theme = "tango";
themes.tango = theme.tmTheme;
};
}; };
} }
]; ];