1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-31 12:07:48 +00:00

Make theme usage generic for bat

This commit is contained in:
RGBCube 2023-11-27 10:27:56 +03:00
parent 25840b2a8d
commit 21de3cde1d
No known key found for this signature in database

View file

@ -11,8 +11,8 @@ homeConfiguration [ "nixos" "root" ] {
less = "bat --plain";
};
programs.bat = enabled {
config.theme = "gruvbox-dark-hard";
themes.gruvbox-dark-hard = upkgs.theme.tmTheme;
programs.bat = with upkgs.theme; enabled {
config.theme = slug;
themes.${slug} = tmTheme;
};
}