311 current 1970-01-01 01:00:00 23.11.20240514.9ddcaff 6.1.90 *
This commit is contained in:
@@ -1,10 +1,22 @@
|
||||
{...}: {
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
config = {
|
||||
map-syntax = ["*.ino:C++"];
|
||||
theme = "Solarized (dark)";
|
||||
style = "numbers,changes,header-filename,header-filesize";
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
cfg = config.shell.bat;
|
||||
in {
|
||||
options = {
|
||||
shell.bat.enable = lib.mkEnableOption "bat, a cat replacement with syntax highlighting";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
config = {
|
||||
map-syntax = ["*.ino:C++"];
|
||||
theme = "Solarized (dark)";
|
||||
style = "numbers,changes,header-filename,header-filesize";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user