mirror of
https://github.com/RGBCube/ThemeNix
synced 2025-07-27 16:37:46 +00:00
Fix bat theme example in readme
This commit is contained in:
parent
be628e8e60
commit
46539172a5
1 changed files with 3 additions and 2 deletions
|
@ -348,6 +348,7 @@ Here is a minimal usage example:
|
|||
};
|
||||
|
||||
outputs = { nixpkgs, themes, ... }: let
|
||||
pkgs = import nixpkgs { system = "x86_64-linux"; };
|
||||
theme = themes.tango;
|
||||
in {
|
||||
nixosConfigurations.myhost = nixpkgs.lib.nixosSystem {
|
||||
|
@ -383,8 +384,8 @@ Here is a minimal usage example:
|
|||
|
||||
# Using templates??? Wow, that's so cool!
|
||||
programs.bat = {
|
||||
config.theme = "tango";
|
||||
themes.tango = theme.tmTheme;
|
||||
config.theme = "base16";
|
||||
themes.base16.src = pkgs.writeText "base16.tmTheme" theme.tmTheme;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue