mirror of
https://github.com/RGBCube/ThemeNix
synced 2025-07-28 08:57: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
|
outputs = { nixpkgs, themes, ... }: let
|
||||||
|
pkgs = import nixpkgs { system = "x86_64-linux"; };
|
||||||
theme = themes.tango;
|
theme = themes.tango;
|
||||||
in {
|
in {
|
||||||
nixosConfigurations.myhost = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.myhost = nixpkgs.lib.nixosSystem {
|
||||||
|
@ -383,8 +384,8 @@ Here is a minimal usage example:
|
||||||
|
|
||||||
# Using templates??? Wow, that's so cool!
|
# Using templates??? Wow, that's so cool!
|
||||||
programs.bat = {
|
programs.bat = {
|
||||||
config.theme = "tango";
|
config.theme = "base16";
|
||||||
themes.tango = theme.tmTheme;
|
themes.base16.src = pkgs.writeText "base16.tmTheme" theme.tmTheme;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue