Erwin Boskma
affb03c156
- Convert README.md to README.org - Change wallpaper - Add multimarkdown and pngcrush to devshell - Add moreutils to base packages - Map .heex files to HTML (EEx) syntax for bat
26 lines
416 B
Nix
26 lines
416 B
Nix
{ pkgs
|
|
, config
|
|
, lib
|
|
, ...
|
|
}:
|
|
with lib; let
|
|
cfg = config.eboskma.programs.bat;
|
|
in
|
|
{
|
|
options.eboskma.programs.bat = {
|
|
enable = mkEnableOption "enable bat";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.bat = {
|
|
enable = true;
|
|
config = {
|
|
theme = "Monokai Extended Bright";
|
|
pager = "less -FR";
|
|
map-syntax = [
|
|
"*.heex:HTML (EEx)"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|