users/kat: rink+inputrc, niv: update

This commit is contained in:
kat witch 2021-05-12 19:26:01 +01:00
parent e6b3d86961
commit 5af29443b3
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
7 changed files with 90 additions and 26 deletions

View file

@ -12,5 +12,7 @@
./ssh.nix
./packages.nix
./weechat.nix
./inputrc.nix
./rink.nix
];
}

View file

@ -0,0 +1,21 @@
{ config, ... }:
{
xdg.configFile."inputrc".text = ''
set editing-mode vi
set keyseq-timeout 1
set mark-symlinked-directories on
set completion-prefix-display-length 8
set show-all-if-ambiguous on
set show-all-if-unmodified on
set visible-stats on
set colored-stats on
set bell-style audible
set meta-flag on
set input-meta on
set convert-meta off
set output-meta on
'';
home.sessionVariables.INPUTRC = "${config.xdg.configHome}/inputrc";
}

View file

@ -21,7 +21,6 @@
whois
niv
dnsutils
rink
borgbackup
neofetch
];

38
users/kat/base/rink.nix Normal file
View file

@ -0,0 +1,38 @@
{ config, lib, pkgs, ... }:
{
home.packages = with pkgs; [
rink-readline
];
xdg.configFile."rink/config.toml".text = lib.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";
};
};
};
}

View file

@ -8,8 +8,8 @@
package = pkgs.numix-icon-theme-square;
};
theme = {
name = "Arc-Dark";
package = pkgs.arc-theme;
name = "Adementary Dark";
package = pkgs.adementary-theme;
};
};
}