mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
43 lines
825 B
Nix
43 lines
825 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib) toTOML;
|
|
in {
|
|
home.packages = with pkgs; [
|
|
#rink-readline TODO: wait for fix
|
|
rink
|
|
];
|
|
|
|
xdg.configFile."rink/config.toml".text = toTOML {
|
|
colors = {
|
|
enabled = true;
|
|
theme = "my_theme";
|
|
};
|
|
currency = {
|
|
cache_duration = "1h";
|
|
enabled = true;
|
|
endpoint = "https://rinkcalc.app/data/currency.json";
|
|
timeout = "2s";
|
|
};
|
|
rink = {
|
|
long_output = true;
|
|
prompt = "> ";
|
|
};
|
|
themes = {
|
|
my_theme = {
|
|
date_time = "default";
|
|
doc_string = "italic";
|
|
error = "red";
|
|
number = "default";
|
|
plain = "default";
|
|
pow = "default";
|
|
prop_name = "cyan";
|
|
quantity = "dimmed cyan";
|
|
unit = "cyan";
|
|
user_input = "bold";
|
|
};
|
|
};
|
|
};
|
|
}
|