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,7 +374,8 @@ 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 = {
programs.kitty.settings = with theme.withHashtag; {
color0 = base00; # Could also be `background`. color0 = base00; # Could also be `background`.
color1 = base01; color1 = base01;
# ... # ...
@ -382,6 +383,13 @@ Here is a minimal usage example:
color11 = baseB; color11 = baseB;
# ... # ...
}; };
# Using templates??? Wow, that's so cool!
programs.bat = {
config.theme = "tango";
themes.tango = theme.tmTheme;
};
};
} }
]; ];
}; };