1
Fork 0
mirror of https://github.com/RGBCube/ThemeNix synced 2025-07-28 00:47:44 +00:00

Fix bat theme example in readme

This commit is contained in:
RGBCube 2023-12-12 15:23:33 +03:00
parent be628e8e60
commit 46539172a5
No known key found for this signature in database

View file

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